10000 bpo-28254: Add PyGC_ functions to the stable ABI manifest (GH-25720) · python/cpython@14fc2bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 14fc2bd

Browse files

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