Fow now I'm going to disable the test_trashcan_16602 test if we detect both WASI and Py_DEBUG, but maybe someone should look into what's going on here. The Py_C_RECURSION_LIMIT variable is set to 500 for all debug builds; lowering it to 300 for WASI did not make any difference (and caused problems elsewhere). WASI without pydebug mode is fine.
Bug report
See test failures in gh-118339, e.g. this one.
Fow now I'm going to disable the
test_trashcan_16602
test if we detect both WASI andPy_DEBUG
, but maybe someone should look into what's going on here. ThePy_C_RECURSION_LIMIT
variable is set to 500 for all debug builds; lowering it to 300 for WASI did not make any difference (and caused problems elsewhere). WASI without pydebug mode is fine.