diff options
author | Victor Stinner <vstinner@python.org> | 2020-12-10 17:39:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 17:39:17 (GMT) |
commit | b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5 (patch) | |
tree | a906b17b3fbb6f78b92b23034908d0b231317766 /Include/pylifecycle.h | |
parent | 7cf0aad96d1d20f07d7f0e374885f327c2d5ff27 (diff) | |
download | cpython-b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5.zip cpython-b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5.tar.gz cpython-b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5.tar.bz2 |
bpo-42591: Export missing Py_FrozenMain() symbol (GH-23730)
Export the Py_FrozenMain() function: fix a Python 3.9.0 regression.
Python 3.9 uses -fvisibility=hidden and the function was not exported
explicitly and so not exported.
Add also Py_FrozenMain to the stable ABI on Windows.
Diffstat (limited to 'Include/pylifecycle.h')
-rw-r--r-- | Include/pylifecycle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h index c5368b3..783fcb4 100644 --- a/Include/pylifecycle.h +++ b/Include/pylifecycle.h @@ -32,6 +32,8 @@ PyAPI_FUNC(void) _Py_NO_RETURN Py_Exit(int); /* Bootstrap __main__ (defined in Modules/main.c) */ PyAPI_FUNC(int) Py_Main(int argc, wchar_t **argv); +PyAPI_FUNC(int) Py_FrozenMain(int argc, char **argv); + PyAPI_FUNC(int) Py_BytesMain(int argc, char **argv); /* In pathconfig.c */ |