gh-108851: Fix tomllib recursion tests (#108853)
* Add get_recursion_available() and get_recursion_depth() functions to the test.support module. * Change infinite_recursion() default max_depth from 75 to 100. * Fix test_tomllib recursion tests for WASI buildbots: reduce the recursion limit and compute the maximum nested array/dict depending on the current available recursion limit. * test.pythoninfo logs sys.getrecursionlimit(). * Enhance test_sys tests on sys.getrecursionlimit() and sys.setrecursionlimit().
V
Victor Stinner committed
8ff11425783806f8cb78e99f667546b1f7f3428e
Parent: 2cd170d
Committed by GitHub <noreply@github.com>
on 9/6/2023, 3:34:31 PM