Python 3.11 is available and contains great improvements.

Python 3.11 is available and contains great improvements

This week, a new version of Python, a widespread high-level, general-purpose programming language, was released. Version 3.11 contains a lot of improvements. The release notes say that the CPython release team “put a lot of effort into making 3.11 the best version of Python possible.”

According to the data provided by Faster CPython Project, the new version is 10% to 60% faster compared to the previous release, 3.10. The average speed measured using the standard benchmark suite increased to 1.22 times.

In addition, the new release contains a few Python Enhancement Proposals (PEP), which were integrated to make coding easier. For example:

PEP 654 introduced a new syntax for except* clause and exception groups. This allows handling several exceptions at once.

PEP 657 adds more details in the traceback error reports. This addition should make the debugging process faster and easier.

PEP 673 introduces a Self type. It allows annotating the methods that return instances of the same class even more straightforwardly.

So, as you can see, the new update sped up Python and made it even more flexible. Considering how widespread it is, the update may trigger many changes and new abilities in numerous projects.

Image Credit: Photo by David Clode on Unsplash

Reading next

Dashlane published a new safety report. Eastern Europe uses the most secure passwords
OpenSSL will provide a patch for a critical vulnerability

Interested in a specific business & technology topic and looking for an article in our blog but haven't found one yet?

If you haven't come across an article that matches your query, feel free to suggest the topic to us, and we'll consider featuring it in our blog. Share your suggestion in the form below, and we'll be sure to review your request.

Talk with us

If you have any questions or problems in your business that can be solved with technical solutions, just let us know. We'll do everything we can to help you.