PEP 664: Add feature list (#2625)
This commit is contained in:
parent
5e58dc69c9
commit
1dae9310db
16
pep-0664.rst
16
pep-0664.rst
|
@ -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
|
||||
=========
|
||||
|
|
Loading…
Reference in New Issue