]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-130396: Include stack margin for debug windows builds (GH-130554)
authorMark Shannon <mark@hotpy.org>
Tue, 25 Feb 2025 19:26:21 +0000 (19:26 +0000)
committerGitHub <noreply@github.com>
Tue, 25 Feb 2025 19:26:21 +0000 (19:26 +0000)
Include/pythonrun.h

index ef4b727442a93512a20ac4076905a348eb8ae6c4..4d459cb92e36ea20c8f5f609d1c875b76ff82b2c 100644 (file)
@@ -28,7 +28,7 @@ PyAPI_DATA(int) (*PyOS_InputHook)(void);
 #if defined(_Py_ADDRESS_SANITIZER) || defined(_Py_THREAD_SANITIZER)
 #  define PYOS_STACK_MARGIN 4096
 #elif defined(Py_DEBUG) && defined(WIN32)
-#  define PYOS_STACK_MARGIN 3072
+#  define PYOS_STACK_MARGIN 4096
 #elif defined(__wasi__)
    /* Web assembly has two stacks, so this isn't really a size */
 #  define PYOS_STACK_MARGIN 500