File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -955,6 +955,22 @@ Optimizations
955955Build 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
You can’t perform that action at this time.
0 commit comments