Add symbols of the stable ABI to python3dll.c (GH-23598) (GH-23801)

Add the following symbols to python3dll.c:

* PyFrame_GetCode (bpo-40421)
* PyFrame_GetLineNumber (bpo-40421)
* PyObject_CallNoArgs (bpo-37194)
* PyThreadState_GetFrame (bpo-39947)
* PyThreadState_GetID (bpo-39947)
* PyThreadState_GetInterpreter (bpo-39947)

(cherry picked from commit fcc6935384)
This commit is contained in:
Victor Stinner 2020-12-16 22:41:47 +01:00 committed by GitHub
parent bf0eed3e60
commit 1662868490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -266,6 +266,8 @@ EXPORTS
PyFloat_GetMax=python39.PyFloat_GetMax
PyFloat_GetMin=python39.PyFloat_GetMin
PyFloat_Type=python39.PyFloat_Type DATA
PyFrame_GetCode=python39.PyFrame_GetCode
PyFrame_GetLineNumber=python39.PyFrame_GetLineNumber
PyFrozenSet_New=python39.PyFrozenSet_New
PyFrozenSet_Type=python39.PyFrozenSet_Type DATA
PyGC_Collect=python39.PyGC_Collect
@ -453,6 +455,7 @@ EXPORTS
PyObject_CallFunctionObjArgs=python39.PyObject_CallFunctionObjArgs
PyObject_CallMethod=python39.PyObject_CallMethod
PyObject_CallMethodObjArgs=python39.PyObject_CallMethodObjArgs
PyObject_CallNoArgs=python39.PyObject_CallNoArgs
PyObject_CallObject=python39.PyObject_CallObject
PyObject_Calloc=python39.PyObject_Calloc
PyObject_CheckReadBuffer=python39.PyObject_CheckReadBuffer
@ -569,6 +572,9 @@ EXPORTS
PyThreadState_DeleteCurrent=python39.PyThreadState_DeleteCurrent
PyThreadState_Get=python39.PyThreadState_Get
PyThreadState_GetDict=python39.PyThreadState_GetDict
PyThreadState_GetFrame=python39.PyThreadState_GetFrame
PyThreadState_GetID=python39.PyThreadState_GetID
PyThreadState_GetInterpreter=python39.PyThreadState_GetInterpreter
PyThreadState_New=python39.PyThreadState_New
PyThreadState_SetAsyncExc=python39.PyThreadState_SetAsyncExc
PyThreadState_Swap=python39.PyThreadState_Swap