Python 3.11 released

Started by JeGX, November 03, 2022, 08:50:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JeGX

Python 3.11.0 is the newest major release of the Python programming language, and it contains many new features, optimizations and performance boost.

QuoteGeneral changes:

- PEP 657 -- Include Fine-Grained Error Locations in Tracebacks

- PEP 654 -- Exception Groups and except*

- PEP 680 -- tomllib: Support for Parsing TOML in the Standard Library

- gh-90908 -- Introduce task groups to asyncio

- gh-34627 -- Atomic grouping ((?>...)) and possessive quantifiers (*+, ++, ?+, {m,n}+) are now supported in regular expressions.

- The Faster CPython Project is already yielding some exciting results. Python 3.11 is up to 10-60% faster than Python 3.10. On average, we measured a 1.22x speedup on the standard benchmark suite. See Faster CPython for details:

CPython 3.11 is on average 25% faster than CPython 3.10 when measured with the pyperformance benchmark suite, and compiled with GCC on Ubuntu Linux. Depending on your workload, the speedup could be up to 10-60% faster.

In Python 3.11, the core modules essential for Python startup are "frozen". This means that their code objects (and bytecode) are statically allocated by the interpreter.

Interpreter startup is now 10-15% faster in Python 3.11. This has a big impact for short-running programs using Python.


More details:
- https://docs.python.org/3.11/whatsnew/3.11.html

Downloads:
- https://www.python.org/downloads/release/python-3110/

JeGX

The first maintenance release of Python 3.11 has been released:

QuoteGeneral changes
PEP 657 -- Include Fine-Grained Error Locations in Tracebacks

PEP 654 -- Exception Groups and except*

PEP 680 -- tomllib: Support for Parsing TOML in the Standard Library

gh-90908 -- Introduce task groups to asyncio

gh-34627 -- Atomic grouping ((?>...)) and possessive quantifiers (*+, ++, ?+, {m,n}+) are now supported in regular expressions.

The Faster CPython Project is already yielding some exciting results. Python 3.11 is up to 10-60% faster than Python 3.10. On average, we measured a 1.22x speedup on the standard benchmark suite.

Downloads
- Python 3.11.1 @ python.org
- Latest Python 3.11.x for win64