gh-111798: Use lower Py_C_RECURSION_LIMIT in debug mode (#112124)
* Run again test_ast_recursion_limit() on WASI platform. * Add _testinternalcapi.get_c_recursion_remaining(). * Fix test_ast and test_sys_settrace: test_ast_recursion_limit() and test_trace_unpack_long_sequence() now adjust the maximum recursion depth depending on the the remaining C recursion.
V
Victor Stinner committed
bd89bca9e2a57779c251ee6fadf4887acb364824
Parent: 81ab0e8
Committed by GitHub <noreply@github.com>
on 11/16/2023, 1:52:33 PM