We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcb6cbd commit 49207a5Copy full SHA for 49207a5
Include/internal/pycore_pythonrun.h
@@ -44,9 +44,9 @@ extern PyObject * _Py_CompileStringObjectWithModule(
44
* no two calls to check recursion depth are more than this far
45
* apart. In practice, that means it must be larger than the C
46
* stack consumption of PyEval_EvalDefault */
47
-#if defined(_Py_ADDRESS_SANITIZER) || defined(_Py_THREAD_SANITIZER)
48
-# define _PyOS_LOG2_STACK_MARGIN 12
49
-#elif defined(Py_DEBUG) && defined(WIN32)
+#if (defined(Py_DEBUG) \
+ || defined(_Py_ADDRESS_SANITIZER) \
+ || defined(_Py_THREAD_SANITIZER))
50
# define _PyOS_LOG2_STACK_MARGIN 12
51
#else
52
# define _PyOS_LOG2_STACK_MARGIN 11
0 commit comments