Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python

Dan B
Dan B
6,155 Points

Remember that "collections" are being retired in Python 3.9 so all the old 2016 material is going to be retired also.

Another user asked this question before so I figured I'd put it here (sorry for the confusion as this thread isn't actually a question itself either).

Official Python Documentation: https://docs.python.org/3/library/collections.html

Deprecated since version 3.3, will be removed in version 3.9: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.8.

We're currently on Python 3.8 and 3.9 will be released next year sometime in 2020.

So what should you do next then instead of following on what Craig said about learning collections next?

The answer: Tuples! Just continue on with the path if you want to keep learning about Python.

fahad lashari
fahad lashari
6,771 Points

Which course covers the tuples other than the collection one that Kenneth teaches? Should we also ignore the others in the collections track such as Dictionaries etc?

1 Answer

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 67,987 Points

Does the deprecation apply to the entire module, or just to the Abstract Base Classes that are aliased in collections?