aboutsummaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-12-10 18:39:17 +0100
committerGitHub <noreply@github.com>2020-12-10 18:39:17 +0100
commitb5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5 (patch)
treea906b17b3fbb6f78b92b23034908d0b231317766 /PC
parentbpo-42517: [Enum] do not convert private names into members (GH-23722) (diff)
downloadcpython-b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5.tar.gz
cpython-b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5.tar.bz2
cpython-b5c7b38f5ebbc84b5b80192db1743d3e1cdcf4c5.zip
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 'PC')
-rw-r--r--PC/python3dll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index 27cc315de2d..9eb81e36af0 100644
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -49,6 +49,7 @@ EXPORT_FUNC(Py_Exit)
EXPORT_FUNC(Py_FatalError)
EXPORT_FUNC(Py_Finalize)
EXPORT_FUNC(Py_FinalizeEx)
+EXPORT_FUNC(Py_FrozenMain)
EXPORT_FUNC(Py_GenericAlias)
EXPORT_FUNC(Py_GenericAliasType)
EXPORT_FUNC(Py_GetArgcArgv)