PEP 664: Add feature list (#2625)

This commit is contained in:
Pablo Galindo Salgado 2022-06-01 00:57:12 +01:00 committed by GitHub
parent 5e58dc69c9
commit 1dae9310db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 1 deletions

View File

@ -81,7 +81,21 @@ Features for 3.11
Some of the notable features of Python 3.11 include:
** Watch this space :) **
* :pep:`654`, Exception Groups and ``except*``.
* :pep:`657`, Enhanced error locations in tracebacks.
* :pep:`680`, Support for parsing TOML in the standard library
* Python 3.11 is up to 10-60% faster than Python 3.10. On average, we measured
a 1.25x speedup on the standard benchmark suite. See `Faster CPython
<https://docs.python.org/3.11/whatsnew/3.11.html#faster-cpython>`__ for
details.
Typing features:
* :pep:`646`, Variadic generics.
* :pep:`655`, Marking individual TypedDict items as required or potentially-missing.
* :pep:`673`, Self type.
* :pep:`675`, Arbitrary literal string type.
* :pep:`681`, Dataclass transforms
Copyright
=========