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 2cca51f commit 5d2c92cCopy full SHA for 5d2c92c
Python/ceval.c
@@ -505,13 +505,6 @@ _Py_InitializeRecursionLimits(PyThreadState *tstate)
505
_PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
506
ts->c_stack_init_base = base;
507
ts->c_stack_init_top = top;
508
-
509
- // Test the stack pointer
510
-#if !defined(NDEBUG) && !defined(__wasi__)
511
- uintptr_t here_addr = _Py_get_machine_stack_pointer();
512
- assert(ts->c_stack_soft_limit < here_addr);
513
- assert(here_addr < ts->c_stack_top);
514
-#endif
515
}
516
517
0 commit comments