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

vstinner webhook-mailer at python.org
Wed Dec 16 16:41:56 EST 2020


https://github.com/python/cpython/commit/166286849048eccadecf02b242dbc4042b780944
commit: 166286849048eccadecf02b242dbc4042b780944
branch: 3.9
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2020-12-16T22:41:47+01:00
summary:

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 fcc6935384b933fbe1a1ef659ed455a3b74c849a)

files:
M PC/python3.def

diff --git a/PC/python3.def b/PC/python3.def
index 66d1595c943ed..fce01249758e2 100644
--- a/PC/python3.def
+++ b/PC/python3.def
@@ -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



More information about the Python-checkins mailing list