Skip to content
Open
Prev Previous commit
Next Next commit
Address review
  • Loading branch information
zklaus committed Sep 26, 2025
commit 174ff299937a8231afe1fe3cf62ae90269b274a9
14 changes: 6 additions & 8 deletions peps/pep-0780.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Status: Draft
Type: Standards Track
Topic: Packaging
Created: 21-Mar-2025
Python-Version: 3.14
Python-Version: 3.15
Post-History:
`05-Aug-2024 <https://discuss.python.org/t/60007>`__,
`26-Mar-2025 <https://discuss.python.org/t/86013>`__,
Expand Down Expand Up @@ -158,8 +158,8 @@ that are restricted to particular interpreters MUST NOT be provided by other
interpreters.

In Python 3.15 and later, the ABI features are determined by the new
``sys.abi_info`` attribute. In earlier Python versions, the ABI features are
the same as for Python 3.15 and given as follows:
:external+py3.15:py:data:`sys.abi_info` attribute. In earlier Python versions,
the ABI features are the same as for Python 3.15 and given as follows:

``pointer_bits``
The bitness of the interpreter, that is, the number of bits in a pointer,
Expand All @@ -170,10 +170,8 @@ the same as for Python 3.15 and given as follows:
``True``, otherwise it MUST be ``False``.

``debug`` (only CPython)
This ABI feature is reserved for the ``--with-pydebug`` build of CPython.
If the interpreter is a CPython interpreter with ``Py_DEBUG`` capabilities,
the ``debug`` feature MUST be ``True``. On POSIX systems, this corresponds
to the Python expression ``"d" in sys.abiflags``.
This ABI feature corresponds to the
:external+py3.15:py:attr:`sys.abi_info.debug` field.

``byteorder``
Indicates the byte order of the interpreter. The value MUST be either
Expand All @@ -182,7 +180,7 @@ the same as for Python 3.15 and given as follows:
.. _pep-780-sys_abi_info:

The ``sys_abi_info`` Environment Marker
-------------------------------------------
---------------------------------------

To make ABI features available in dependency specifications, a new environment
marker variable, ``sys_abi_info``, is added to the format of dependency
Expand Down