]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-28254: Add PyGC_ functions to the stable ABI manifest (GH-25720) 11789/head
authorPetr Viktorin <encukou@gmail.com>
Thu, 29 Apr 2021 13:46:48 +0000 (15:46 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Apr 2021 13:46:48 +0000 (15:46 +0200)
Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
Co-authored-by: scoder <stefan_ml@behnel.de>
Misc/stable_abi.txt
PC/python3dll.c

index efb2731f595a22fdcd84ad76d5eaad5abbf623ee..2a802bd5f4b831da3009b0e4d06891b3f9b664ce 100644 (file)
@@ -2139,6 +2139,15 @@ const Py_am_send
     added 3.10
 
 
+# New GC control functions in Py3.10 (https://bugs.python.org/issue28254)
+
+function PyGC_Disable
+    added 3.10
+function PyGC_Enable
+    added 3.10
+function PyGC_IsEnabled
+    added 3.10
+
+
 # (Detailed comments aren't really needed for further entries: from here on
 #  we can use version control logs.)
-
index a53ec63e038f9f0164f719ff0d525d70f2c0a996..574d4dcad9f75b0b7b9981b26e383e7c12fb7567 100755 (executable)
@@ -271,6 +271,9 @@ EXPORT_FUNC(PyFrame_GetCode)
 EXPORT_FUNC(PyFrame_GetLineNumber)
 EXPORT_FUNC(PyFrozenSet_New)
 EXPORT_FUNC(PyGC_Collect)
+EXPORT_FUNC(PyGC_Disable)
+EXPORT_FUNC(PyGC_Enable)
+EXPORT_FUNC(PyGC_IsEnabled)
 EXPORT_FUNC(PyGILState_Ensure)
 EXPORT_FUNC(PyGILState_GetThisThreadState)
 EXPORT_FUNC(PyGILState_Release)