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.
Here’s a rundown of all of the major new features in Python 3.10, with discussion of how they can help your code.