Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport copying recursion limit from C to test.support
Partially backport Python 3.13 changes that expose the C recursion limit as _testcapi.Py_C_RECURSION_LIMIT and use them in test.support rather than (incompletely) duplicating the values from header. This should fix test failures on platforms that were not correctly covered in the Python code (e.g. SPARC). The code is roughly based on parts of the following upstream commits: 45e09f9 pythonGH-112215: Increase C recursion limit for non debug builds (pythonGH-113397) 7e135a4 pythongh-111520: Integrate the Tier 2 interpreter in the Tier 1 interpreter (python#111428) b0edf3b pythonGH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (python#108507) Signed-off-by: Michał Górny <mgorny@gentoo.org>
- Loading branch information