https://github.com/python/cpython/commit/2dad1e08ec9d5ddc798a313900613b3d1eeaff6b
commit: 2dad1e08ec9d5ddc798a313900613b3d1eeaff6b
branch: main
author: Mark Shannon <m...@hotpy.org>
committer: markshannon <m...@hotpy.org>
date: 2025-02-25T19:26:21Z
summary:

GH-130396: Include stack margin for debug windows builds (GH-130554)

files:
M Include/pythonrun.h

diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index ef4b727442a935..4d459cb92e36ea 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -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

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to