Skip to content

[3.14] gh-123299: Add PEP 779 to What's New in Python 3.14 (GH-135555) #135602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 35 additions & 8 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ and improvements in user-friendliness and correctness.

.. PEP-sized items next.

* :ref:`PEP 779: Free-threaded Python is officially supported <whatsnew314-pep779>`
* :ref:`PEP 649 and 749: deferred evaluation of annotations <whatsnew314-pep649>`
* :ref:`PEP 734: Multiple Interpreters in the Stdlib <whatsnew314-pep734>`
* :ref:`PEP 741: Python Configuration C API <whatsnew314-pep741>`
* :ref:`PEP 734: Multiple interpreters in the stdlib <whatsnew314-pep734>`
* :ref:`PEP 741: Python configuration C API <whatsnew314-pep741>`
* :ref:`PEP 750: Template strings <whatsnew314-pep750>`
* :ref:`PEP 758: Allow except and except* expressions without parentheses <whatsnew314-pep758>`
* :ref:`PEP 761: Discontinuation of PGP signatures <whatsnew314-pep761>`
Expand Down Expand Up @@ -124,9 +125,35 @@ of Python. See :ref:`below <whatsnew314-refcount>` for details.
New features
============

.. _whatsnew314-pep779:

PEP 779: Free-threaded Python is officially supported
-----------------------------------------------------

The free-threaded build of Python is now supported and no longer experimental.
This is the start of phase II where free-threaded Python is officially supported
but still optional.

We are confident that the project is on the right path, and we appreciate the
continued dedication from everyone working to make free-threading ready for
broader adoption across the Python community.

With these recommendations and the acceptance of this PEP, we as the Python
developer community should broadly advertise that free-threading is a supported
Python build option now and into the future, and that it will not be removed
without a proper deprecation schedule.

Any decision to transition to phase III, with free-threading as the default or
sole build of Python is still undecided, and dependent on many factors both
within CPython itself and the community. This decision is for the future.

.. seealso::
:pep:`779` and its `acceptance
<https://discuss.python.org/t/pep-779-criteria-for-supported-status-for-free-threaded-python/84319/123>`__.

.. _whatsnew314-pep734:

PEP 734: Multiple Interpreters in the Stdlib
PEP 734: Multiple interpreters in the stdlib
--------------------------------------------

The CPython runtime supports running multiple copies of Python in the
Expand Down Expand Up @@ -392,7 +419,7 @@ As can be seen, the API is similar to the APIs of the :mod:`!lzma` and
:mod:`!bz2` modules.

(Contributed by Emma Harper Smith, Adam Turner, Gregory P. Smith, Tomas Roun,
Victor Stinner, and Rogdham in :gh:`132983`)
Victor Stinner, and Rogdham in :gh:`132983`.)

.. seealso::
:pep:`784`.
Expand Down Expand Up @@ -727,7 +754,7 @@ Improved error messages

.. _whatsnew314-pep741:

PEP 741: Python Configuration C API
PEP 741: Python configuration C API
-----------------------------------

Add a :ref:`PyInitConfig C API <pyinitconfig_api>` to configure the Python
Expand Down Expand Up @@ -1266,7 +1293,7 @@ configparser
to :meth:`configparser.ConfigParser.write` keys containing delimiters or
beginning with the section header pattern will raise a
:class:`configparser.InvalidWriteError`.
(Contributed by Jacob Lincoln in :gh:`129270`)
(Contributed by Jacob Lincoln in :gh:`129270`.)

contextvars
-----------
Expand Down Expand Up @@ -2788,8 +2815,8 @@ New features

* Add :c:func:`PyType_GetBaseByToken` and :c:data:`Py_tp_token` slot for easier
superclass identification, which attempts to resolve the `type checking issue
<https://peps.python.org/pep-0630/#type-checking>`__ mentioned in :pep:`630`
(:gh:`124153`).
<https://peps.python.org/pep-0630/#type-checking>`__ mentioned in :pep:`630`.
(Contributed in :gh:`124153`.)

* Add :c:func:`PyUnicode_Equal` function to the limited C API:
test if two strings are equal.
Expand Down
Loading