8000 bpo-43795: Generate python3dll.c and doc data from manifest (PEP 652) by encukou · Pull Request #25315 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-43795: Generate python3dll.c and doc data from manifest (PEP 652) #25315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 29, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Include new additions to the Stable ABI
  • Loading branch information
encukou committed Apr 23, 2021
commit 5d8ef950bfc653692f5b80d0b9be7541eb222c65
3 changes: 3 additions & 0 deletions Doc/data/stable_abi.dat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ METH_NOARGS
METH_O
METH_STATIC
METH_VARARGS
PyAiter_Check
PyArg_Parse
PyArg_ParseTuple
PyArg_ParseTupleAndKeywords
Expand Down Expand Up @@ -208,6 +209,7 @@ PyExc_ConnectionRefusedError
PyExc_ConnectionResetError
PyExc_DeprecationWarning
PyExc_EOFError
PyExc_EncodingWarning
PyExc_EnvironmentError
PyExc_Exception
PyExc_FileExistsError
Expand Down Expand Up @@ -490,6 +492,7 @@ PyObject_GenericGetAttr
PyObject_GenericGetDict
PyObject_GenericSetAttr
PyObject_GenericSetDict
PyObject_GetAiter
PyObject_GetAttr
PyObject_GetAttrString
PyObject_GetItem
Expand Down
31 changes: 31 additions & 0 deletions Misc/stable_abi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2107,6 +2107,37 @@ data PyCodec_Unregister
added 3.10
function PyErr_SetInterruptEx
added 3.10
function Py_Is
added 3.10
function Py_IsTrue
added 3.10
function Py_IsFalse
added 3.10
function Py_IsNone
added 3.10
function _Py_IncRef
added 3.10
abi_only
function _Py_DecRef
added 3.10
abi_only
function PyAiter_Check
added 3.10
function PyObject_GetAiter
added 3.10
data PyExc_EncodingWarning
added 3.10

# Support for Stable ABI in debug builds

data _Py_RefTotal
added 3.10
abi_only
ifdef Py_REF_DEBUG
function _Py_NegativeRefcount
added 3.10
abi_only
ifdef Py_REF_DEBUG

# New slots in 3.10:

Expand Down
6 changes: 6 additions & 0 deletions PC/python3dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ EXPORT_FUNC(Py_GetVersion)
EXPORT_FUNC(Py_IncRef)
EXPORT_FUNC(Py_Initialize)
EXPORT_FUNC(Py_InitializeEx)
EXPORT_FUNC(Py_Is)
EXPORT_FUNC(Py_IsFalse)
EXPORT_FUNC(Py_IsInitialized)
EXPORT_FUNC(Py_IsNone)
EXPORT_FUNC(Py_IsTrue)
EXPORT_FUNC(Py_LeaveRecursiveCall)
EXPORT_FUNC(Py_Main)
EXPORT_FUNC(Py_MakePendingCalls)
Expand All @@ -88,6 +92,7 @@ EXPORT_FUNC(Py_SetPythonHome)
EXPORT_FUNC(Py_SetRecursionLimit)
EXPORT_FUNC(Py_VaBuildValue)
EXPORT_FUNC(Py_XNewRef)
EXPORT_FUNC(PyAiter_Check)
EXPORT_FUNC(PyArg_Parse)
EXPORT_FUNC(PyArg_ParseTuple)
EXPORT_FUNC(PyArg_ParseTupleAndKeywords)
Expand Down Expand Up @@ -436,6 +441,7 @@ EXPORT_FUNC(PyObject_GenericGetAttr)
EXPORT_FUNC(PyObject_GenericGetDict)
EXPORT_FUNC(PyObject_GenericSetAttr)
EXPORT_FUNC(PyObject_GenericSetDict)
EXPORT_FUNC(PyObject_GetAiter)
EXPORT_FUNC(PyObject_GetAttr)
EXPORT_FUNC(PyObject_GetAttrString)
EXPORT_FUNC(PyObject_GetItem)
Expand Down
0