summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-12 16:13:38 (GMT)
committerGitHub <noreply@github.com>2022-08-12 16:13:38 (GMT)
commit5cc3964a32da4969397b8a14a1f5f8e6103f8c01 (patch)
treef048bb500fbf9cfdce760335ba3228dae12fe8d7 /Doc/whatsnew
parente3adb19df82c0f19086e6cfced531ef8d8fb6d5b (diff)
downloadcpython-5cc3964a32da4969397b8a14a1f5f8e6103f8c01.zip
cpython-5cc3964a32da4969397b8a14a1f5f8e6103f8c01.tar.gz
cpython-5cc3964a32da4969397b8a14a1f5f8e6103f8c01.tar.bz2
gh-95914: Add missing PEPs to the Summary section of 3.11 What's New (GH-95916) (GH-95927)
(cherry picked from commit 6376433ac3c71a4742ec6577054c7edf5ab37134) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.11.rst28
1 files changed, 23 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 76aa688..0c37cc4 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -49,13 +49,14 @@ This article explains the new features in Python 3.11, compared to 3.10.
For full details, see the :ref:`changelog <changelog>`.
+
Summary -- Release highlights
=============================
.. This section singles out the most important changes in Python 3.11.
Brevity is key.
-- Python 3.11 is up to 10-60% faster than Python 3.10. On average, we measured a
+- Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a
1.25x speedup on the standard benchmark suite. See `Faster CPython`_ for details.
.. PEP-sized items next.
@@ -65,18 +66,35 @@ New syntax features:
* :pep:`654`: Exception Groups and ``except*``.
(Contributed by Irit Katriel in :issue:`45292`.)
+New built-in features:
+
+* :pep:`678`: Enriching Exceptions with Notes.
+
+New standard library modules:
+
+* :pep:`680`: ``tomllib`` — Support for Parsing TOML in the Standard Library.
+
+Interpreter improvements:
+
+* :pep:`657`: Include Fine Grained Error Locations in Tracebacks.
+* New :option:`-P` command line option and :envvar:`PYTHONSAFEPATH` environment
+ variable to disable automatically prepending a potentially unsafe path
+ (the working dir or script directory, depending on invocation)
+ to :data:`sys.path`.
+
New 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`: Data Class Transforms.
-Security improvements:
+Important deprecations, removals or restrictions:
-* New :option:`-P` command line option and :envvar:`PYTHONSAFEPATH` environment
- variable to not prepend a potentially unsafe path to :data:`sys.path` such as
- the current directory, the script's directory or an empty string.
+* :pep:`594`: Removing dead batteries from the standard library.
+* :pep:`624`: Remove ``Py_UNICODE`` encoder APIs.
+* :pep:`670`: Convert macros to functions in the Python C API.
New Features