Member-only story

New Features in Python 3.10

A look at the best features included in the latest iteration of Python

James Briggs
Towards Data Science
6 min readNov 11, 2020

--

Photo by Ben Sweet on Unsplash

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 Annotation
Why 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:

--

--

Towards Data Science
Towards Data Science

Published in Towards Data Science

Your home for data science and AI. The world’s leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.

James Briggs
James Briggs

Written by James Briggs

Freelance ML engineer learning and writing about everything. I post a lot on YT https://www.youtube.com/c/jamesbriggs

Responses (4)