diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-15 01:31:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-15 01:31:44 (GMT) |
commit | 3fde750cc4e4057076650a92946ec1d492464799 (patch) | |
tree | ca8ddfc106ed273402bd6bea4eee0afada4d633a /Doc | |
parent | f78e66c3c9cd3a65cedba8d35f8e715e0535d8bf (diff) | |
download | cpython-3fde750cc4e4057076650a92946ec1d492464799.zip cpython-3fde750cc4e4057076650a92946ec1d492464799.tar.gz cpython-3fde750cc4e4057076650a92946ec1d492464799.tar.bz2 |
bpo-36707: Document "m" removal from sys.abiflags (GH-14090)
(cherry picked from commit 7efc526e5cfb929a79c192ac2dcf7eb78d3a4401)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/sys.rst | 4 | ||||
-rw-r--r-- | Doc/whatsnew/3.8.rst | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 817c3f1..c073431 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -16,6 +16,10 @@ always available. On POSIX systems where Python was built with the standard ``configure`` script, this contains the ABI flags as specified by :pep:`3149`. + .. versionchanged:: 3.8 + Default flags became an empty string (``m`` flag for pymalloc has been + removed). + .. versionadded:: 3.2 diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 05d2ecc..21ad112 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -936,6 +936,22 @@ Optimizations Build and C API Changes ======================= +* Default :data:`sys.abiflags` became an empty string: the ``m`` flag for + pymalloc became useless (builds with and without pymalloc are ABI compatible) + and so has been removed. (Contributed by Victor Stinner in :issue:`36707`.) + + Example of changes: + + * Only ``python3.8`` program is installed, ``python3.8m`` program is gone. + * Only ``python3.8-config`` script is installed, ``python3.8m-config`` script + is gone. + * The ``m`` flag has been removed from the suffix of dynamic library + filenames: extension modules in the standard library as well as those + produced and installed by third-party packages, like those downloaded from + PyPI. On Linux, for example, the Python 3.7 suffix + ``.cpython-37m-x86_64-linux-gnu.so`` became + ``.cpython-38-x86_64-linux-gnu.so`` in Python 3.8. + * The header files have been reorganized to better separate the different kinds of APIs: |