[issue44133] "Py_FrozenMain" symbol is not exported

2021-10-22 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 276468dddb46c54980c782c09cdb53bd90755752 by Petr Viktorin in branch 'main': bpo-43795: Add a test for Stable ABI symbol availability using ctypes (GH-26354) https://github.com/python/cpython/commit/276468dddb46c54980c782c09cdb53bd90755752 -

[issue44133] "Py_FrozenMain" symbol is not exported

2021-10-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27425 pull_request: https://github.com/python/cpython/pull/29148 ___ Python tracker _

[issue44133] "Py_FrozenMain" symbol is not exported

2021-10-21 Thread Petr Viktorin
Petr Viktorin added the comment: > I'm not sure why, but "Py_FrozenMain" is the *only* impacted symbol of the > whole C API. Apparently, on some platforms `PyModule_Create2` and `PyModule_FromDefAndSpec2` don't appear either. Should I rename the issue to cover these as well? -- nos

[issue44133] "Py_FrozenMain" symbol is not exported

2021-05-14 Thread STINNER Victor
STINNER Victor added the comment: The symbol is not exported on Windows neither. My PR 26126 ("Test Py_FrozenMain()") fails on Windows with: "_testembed.obj : error LNK2001: unresolved external symbol __imp_Py_FrozenMain" ("__imp_" prefix is added by Windows DLL loader.) -- ___

[issue44133] "Py_FrozenMain" symbol is not exported

2021-05-14 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +24769 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26130 ___ Python tracker ___ _

[issue44133] "Py_FrozenMain" symbol is not exported

2021-05-14 Thread STINNER Victor
STINNER Victor added the comment: The "python" binary exports 1610 symbols. With the attached fix, it exports 1611 symbols (+1): "Py_FrozenMain" is also exported :-) -- ___ Python tracker __

[issue44133] "Py_FrozenMain" symbol is not exported

2021-05-14 Thread STINNER Victor
New submission from STINNER Victor : When Python is built without --enable-shared, the "Py_FrozenMain" is not exported. When Python is built with --enable-shared, the "Py_FrozenMain" is exported as expected. I can reproduce the issue with attached reproduce.tar.gz example: * build.sh export