commit | bd89bca9e2a57779c251ee6fadf4887acb364824 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Thu Nov 16 14:52:33 2023 +0100 |
committer | GitHub <noreply@github.com> | Thu Nov 16 13:52:33 2023 +0000 |
tree | 0b2176ea71904f585c968bb82a0743e4fbbf478d | |
parent | 81ab0e8a4add53035c87b040afda6d554cace528 [diff] |
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.