Skip to content

Commit 14fc2bd

Browse files
encukouorsenthilscoder
authored
bpo-28254: Add PyGC_ functions to the stable ABI manifest (GH-25720)
Co-authored-by: Senthil Kumaran <[email protected]> Co-authored-by: scoder <[email protected]>
1 parent c76da79 commit 14fc2bd

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Misc/stable_abi.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2139,6 +2139,15 @@ const Py_am_send
21392139
added 3.10
21402140

21412141

2142+
# New GC control functions in Py3.10 (https://bugs.python.org/issue28254)
2143+
2144+
function PyGC_Disable
2145+
added 3.10
2146+
function PyGC_Enable
2147+
added 3.10
2148+
function PyGC_IsEnabled
2149+
added 3.10
2150+
2151+
21422152
# (Detailed comments aren't really needed for further entries: from here on
21432153
# we can use version control logs.)
2144-

PC/python3dll.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ EXPORT_FUNC(PyFrame_GetCode)
271271
EXPORT_FUNC(PyFrame_GetLineNumber)
272272
EXPORT_FUNC(PyFrozenSet_New)
273273
EXPORT_FUNC(PyGC_Collect)
274+
EXPORT_FUNC(PyGC_Disable)
275+
EXPORT_FUNC(PyGC_Enable)
276+
EXPORT_FUNC(PyGC_IsEnabled)
274277
EXPORT_FUNC(PyGILState_Ensure)
275278
EXPORT_FUNC(PyGILState_GetThisThreadState)
276279
EXPORT_FUNC(PyGILState_Release)

0 commit comments

Comments
 (0)