Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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
7,693 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 68,423 Points

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