What’s new in Python 3.10

What’s new in Python 3.10

Python 3.10, the latest in-development version of Python, has been released. Intrepid Python developers are encouraged to test their code against it, with proper precautions (e.g., using a virtual environment).

There aren’t many truly new major features in Python 3.10, but of the few that we do have, one of them — structural pattern matching — may be the single most significant addition to the language syntax since async.

[ Also on InfoWorld: 6 projects that push Python performance ]

Here’s a rundown of all of the major new features in Python 3.10, with discussion of how they can help your code.

To read this article in full, please click here