Member-only story
New Features in Python 3.10
A look at the best features included in the latest iteration of Python
The second alpha version of Python 3.10 was released at the beginning of November — and with it, we are able to see a glimpse of what’s next for Python.
Some exciting moves are being made that will likely change the future Python ecosystem towards more explicit, readable code — while maintaining the ease-of-use that we all know and love.
Thanks to the new annual release schedule [PEP 602], we now see shorter development windows — meaning many of the features we can expect in October 2021 are already here in some form or another — we will cover everything new so far:
Further Extensions to Type Annotations
- Postponed Evaluation of Annotations
- Type Union Operator
- TypeAlias AnnotationWhy Typing is ImportantNew Methods and Behaviors
- Equal Length Flag for zip()
- Bit Count for Integers
- Mapping for Dictionary Views
If you prefer video, we cover everything from this article here: