From: Mark Shannon Date: Tue, 25 Feb 2025 19:26:21 +0000 (+0000) Subject: GH-130396: Include stack margin for debug windows builds (GH-130554) X-Git-Tag: v3.14.0a6~264 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2dad1e08ec9d5ddc798a313900613b3d1eeaff6b;p=thirdparty%2FPython%2Fcpython.git GH-130396: Include stack margin for debug windows builds (GH-130554) --- diff --git a/Include/pythonrun.h b/Include/pythonrun.h index ef4b727442a9..4d459cb92e36 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