]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-47169: Export PyOS_CheckStack on Windows (GH-32414)
authorPetr Viktorin <encukou@gmail.com>
Thu, 21 Apr 2022 16:03:25 +0000 (18:03 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Apr 2022 16:03:25 +0000 (18:03 +0200)
Misc/NEWS.d/next/C API/2022-04-06-16-54-39.bpo-47169.EGzX4B.rst [new file with mode: 0644]
PC/python3dll.c
Tools/scripts/stable_abi.py

diff --git a/Misc/NEWS.d/next/C API/2022-04-06-16-54-39.bpo-47169.EGzX4B.rst b/Misc/NEWS.d/next/C API/2022-04-06-16-54-39.bpo-47169.EGzX4B.rst
new file mode 100644 (file)
index 0000000..df28891
--- /dev/null
@@ -0,0 +1 @@
+:c:func:`PyOS_CheckStack` is now exported in the Stable ABI on Windows.
index 0aee2aec847261cdb26574223212522975f2bc46..aabc1e83868e87a3e0d1f4cc177be2fae815f38d 100755 (executable)
@@ -484,6 +484,7 @@ EXPORT_FUNC(PyObject_SetItem)
 EXPORT_FUNC(PyObject_Size)
 EXPORT_FUNC(PyObject_Str)
 EXPORT_FUNC(PyObject_Type)
+EXPORT_FUNC(PyOS_CheckStack)
 EXPORT_FUNC(PyOS_double_to_string)
 EXPORT_FUNC(PyOS_FSPath)
 EXPORT_FUNC(PyOS_getsig)
index 9b90e344977f4713fd79b7972b2f43c8dcfaebb3..7376a4649ca05ece906b9f9c1d09873c5041c390 100755 (executable)
@@ -58,6 +58,7 @@ IFDEF_DOC_NOTES = {
 WINDOWS_IFDEFS = frozenset({
     'MS_WINDOWS',
     'PY_HAVE_THREAD_NATIVE_ID',
+    'USE_STACKCHECK',
 })
 
 # The stable ABI manifest (Misc/stable_abi.txt) exists only to fill the