GH-107263: Increase C stack limit for most functions, except _PyEval_EvalFrameDefault() (GH-107535)

* Set C recursion limit to 1500, set cost of eval loop to 2 frames, and compiler mutliply to 2.
This commit is contained in:
Mark Shannon 2023-08-04 10:10:29 +01:00 committed by GitHub
parent 0bd784b355
commit fa45958450
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 57 additions and 45 deletions

View file

@ -1,5 +1,5 @@
import unittest
from test.support import cpython_only, requires_limited_api
from test.support import cpython_only, requires_limited_api, skip_on_s390x
try:
import _testcapi
except ImportError:
@ -918,6 +918,7 @@ class TestErrorMessagesUseQualifiedName(unittest.TestCase):
@cpython_only
class TestRecursion(unittest.TestCase):
@skip_on_s390x
def test_super_deep(self):
def recurse(n):