Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7efc526

Browse files
authored
bpo-36707: Document "m" removal from sys.abiflags (GH-14090)
1 parent 749e730 commit 7efc526

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Doc/library/sys.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ always available.
1616
On POSIX systems where Python was built with the standard ``configure``
1717
script, this contains the ABI flags as specified by :pep:`3149`.
1818

19+
.. versionchanged:: 3.8
20+
Default flags became an empty string (``m`` flag for pymalloc has been
21+
removed).
22+
1923
.. versionadded:: 3.2
2024

2125

Doc/whatsnew/3.8.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,22 @@ Optimizations
955955
Build and C API Changes
956956
=======================
957957

958+
* Default :data:`sys.abiflags` became an empty string: the ``m`` flag for
959+
pymalloc became useless (builds with and without pymalloc are ABI compatible)
960+
and so has been removed. (Contributed by Victor Stinner in :issue:`36707`.)
961+
962+
Example of changes:
963+
964+
* Only ``python3.8`` program is installed, ``python3.8m`` program is gone.
965+
* Only ``python3.8-config`` script is installed, ``python3.8m-config`` script
966+
is gone.
967+
* The ``m`` flag has been removed from the suffix of dynamic library
968+
filenames: extension modules in the standard library as well as those
969+
produced and installed by third-party packages, like those downloaded from
970+
PyPI. On Linux, for example, the Python 3.7 suffix
971+
``.cpython-37m-x86_64-linux-gnu.so`` became
972+
``.cpython-38-x86_64-linux-gnu.so`` in Python 3.8.
973+
958974
* The header files have been reorganized to better separate the different kinds
959975
of APIs:
960976

0 commit comments

Comments
 (0)