[issue42591] Method Py_FrozenMain missing in libpython3.9

2021-05-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 68b9c20a98887bf0a92698f8df9f28b9440970dc by Miss Islington (bot) in branch '3.10': bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241) (GH-26353)

[issue42591] Method Py_FrozenMain missing in libpython3.9

2021-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24944 pull_request: https://github.com/python/cpython/pull/26353 ___ Python tracker

[issue42591] Method Py_FrozenMain missing in libpython3.9

2021-05-19 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +24857 pull_request: https://github.com/python/cpython/pull/26241 ___ Python tracker ___

[issue42591] Method Py_FrozenMain missing in libpython3.9

2021-05-18 Thread Petr Viktorin
Petr Viktorin added the comment: Is this function actually usable in Windows? ISTM that you need to define three more functions, PyWinFreeze_ExeInit, PyWinFreeze_ExeTerm and PyInitFrozenExtensions. Was adding this undocumented function to the Windows stable ABI deliberate? I see no

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-16 Thread Christian Bachmaier
Christian Bachmaier added the comment: Vistor Stinner: > If you can test it, I can backport the fix to stable branches. Seems to work like a charm. Basically I used the same testing setup as previously on Dec 10th under Debian testing/bullseye without step 2, as master already contains your

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: Christian Bachmaier: > The symlink does the trick. So it may be easy for you to fix that, so it does > operate out of the box again. I pushed a fix in bpo-42613. It would be great if you could test it. See my manual test:

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-16 Thread Christian Bachmaier
Christian Bachmaier added the comment: > Do you mean freeze.py from Tools/freeze/freeze.py? Yes, unfortunately I have to keep a large old system running and there are only few options left. It is a University learning system, where students upload program code and then a huge amount of

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: Christian Bachmaier: > Thus, when trying the provided freeze example via > freeze.py hello.py & make Do you mean freeze.py from Tools/freeze/freeze.py? This tool seems to be broken for 4 years, since Python 3.6: bpo-42613. > 4. freeze.py wants wants this

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-14 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker ___

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-14 Thread STINNER Victor
STINNER Victor added the comment: Thanks Christian Bachmaier for the bug report, it's now fixed. -- ___ Python tracker ___ ___

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6b2ed385094839c1920b934f07d946bf049a3770 by Victor Stinner in branch '3.9': bpo-42591: Export missing Py_FrozenMain() symbol (GH-23730) (GH-23734) https://github.com/python/cpython/commit/6b2ed385094839c1920b934f07d946bf049a3770 --

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22593 pull_request: https://github.com/python/cpython/pull/23734 ___ Python tracker ___

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-10 Thread STINNER Victor
STINNER Victor added the comment: > a simple test with the tools/freeze/hello.py example was successfull with > your patch and the newest cpython from github. Oh great, thanks for your quick feedback! I applied your PR to master and I will backport it to 3.9. --

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5 by Victor Stinner in branch 'master': bpo-42591: Export missing Py_FrozenMain() symbol (GH-23730) https://github.com/python/cpython/commit/b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5 --

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-10 Thread Christian Bachmaier
Christian Bachmaier added the comment: Dear Victor, a simple test with the tools/freeze/hello.py example was successfull with your patch and the newest cpython from github. 1. git clone https://github.com/python/cpython.git 2. Applied a patch of your pull request 3. configure, make, amke

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-10 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 23730 to fix the issue. Would it be possible for you to test it? Since Python 3.9, symbols which are not explicitly exported are no longer exported. Python now uses -fvisibility=hidden. -- ___ Python

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch nosy: +vstinner nosy_count: 1.0 -> 2.0 pull_requests: +22590 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23730 ___ Python tracker

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-10 Thread Christian Bachmaier
Christian Bachmaier added the comment: The file containing the source code is Python/frozenmain.c . -- ___ Python tracker ___ ___

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-10 Thread Christian Bachmaier
Christian Bachmaier added the comment: The same under Python 3.9.1 (Package from Debian bullseye/testing). As the method Py_FrozenMain is contained in the source code, maybe ist has something to do with the build process, a change in makefile? As far as I can see, the builder of the

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-07 Thread Christian Bachmaier
Change by Christian Bachmaier : -- components: +Library (Lib) -C API ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42591] Method Py_FrozenMain missing in libpython3.9

2020-12-07 Thread Christian Bachmaier
New submission from Christian Bachmaier : In Python 3.9.0 and 3.9.1rc1 (Packages from Ubuntu Devel Branch or Fedora) the Method int Py_FrozenMain(int, char**) is missing in libpython3.9.so Thus, when trying the provided freeze example via freeze.py hello.py & make one gets the linker error