This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: abiflag `m` is no longer showing when compiled with --enable-shared
Type: Stage: resolved
Components: Build Versions: Python 3.8
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Anthony Sottile, vstinner
Priority: normal Keywords:

Created on 2019-05-07 21:11 by Anthony Sottile, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg341827 - (view) Author: Anthony Sottile (Anthony Sottile) * Date: 2019-05-07 21:11
This appears to be a regression between 3.8a3 and 3.8a4 -- though it may be intentional and I'm missing something?

I noticed this while packaging 3.8 for deadsnakes https://github.com/deadsnakes/python3.8

I've created a minimal reproduction:


$ git checkout v3.8.0a4 && git clean -fxfd && ./configure --enable-shared && make -j4 && ls *.so build/lib*/*sysconfigdata*

...

build/lib.linux-x86_64-3.8/_sysconfigdata__linux_x86_64-linux-gnu.py
libpython3.8.so
libpython3.so


$ git checkout v3.8.0a3 && git clean -fxfd && ./configure --enable-shared && make -j4 && ls *.so build/lib*/*sysconfigdata*

...


build/lib.linux-x86_64-3.8/_sysconfigdata_m_linux_x86_64-linux-gnu.py
libpython3.8m.so
libpython3.so


Notice how the abiflag in sysconfigdata in 3.8a3 is 'm' but in 3.8a4 it is ''

My WAG at the relevant patch is 8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b
msg341837 - (view) Author: Anthony Sottile (Anthony Sottile) * Date: 2019-05-07 22:33
+vstinner

Hmmm, actually the relevant commit appears to be 6c44fde3e03079e0c69f823dafbe04af50b5bd0d and intentional

(I ran a git bisect to find this!)

https://github.com/python/cpython/pull/12931

Does PEP 3149 require an update with this change, it still mentions --with-pymalloc and the `m` abi flag: https://www.python.org/dev/peps/pep-3149/
msg341841 - (view) Author: Anthony Sottile (Anthony Sottile) * Date: 2019-05-08 00:04
seems intentional => closing
History
Date User Action Args
2022-04-11 14:59:14adminsetgithub: 81025
2019-05-08 00:04:32Anthony Sottilesetstatus: open -> closed

messages: + msg341841
stage: resolved
2019-05-07 22:33:50Anthony Sottilesetnosy: + vstinner
messages: + msg341837
2019-05-07 21:11:03Anthony Sottilecreate