Searched refs:getrecursionlimit (Results 1 – 25 of 41) sorted by relevance
12
/external/python/cpython3/Lib/idlelib/ |
D | run.py | 341 @functools.wraps(sys.getrecursionlimit) 342 def getrecursionlimit(): function 343 return getrecursionlimit.__wrapped__() - RECURSIONLIMIT_DELTA 345 fixdoc(getrecursionlimit, f"""\ 350 sys.setrecursionlimit(sys.getrecursionlimit() + RECURSIONLIMIT_DELTA) 353 sys.getrecursionlimit = getrecursionlimit 364 getattr(sys.getrecursionlimit, '__wrapped__', None) 367 sys.getrecursionlimit = sys.getrecursionlimit.__wrapped__ 368 sys.setrecursionlimit(sys.getrecursionlimit() - RECURSIONLIMIT_DELTA)
|
/external/python/cpython3/Lib/test/crashers/ |
D | trace_at_recursion_limit.py | 22 print(sys.getrecursionlimit())
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_run.py | 302 orig_reclimit = sys.getrecursionlimit() 307 new_reclimit = sys.getrecursionlimit() 311 orig_reclimit = sys.getrecursionlimit() 314 new_reclimit = sys.getrecursionlimit()
|
/external/python/cpython3/Tools/scripts/ |
D | find_recursionlimit.py | 96 compile("()" * (10 * sys.getrecursionlimit()), "<single>", "single")
|
/external/python/cpython3/Doc/library/ |
D | compileall.rst | 135 :py:func:`sys.getrecursionlimit()`. 151 .. function:: compile_dir(dir, maxlevels=sys.getrecursionlimit(), ddir=None, force=False, rx=None, … 158 defaults to ``sys.getrecursionlimit()``. 232 Default value of *maxlevels* was changed from ``10`` to ``sys.getrecursionlimit()``
|
/external/python/cpython3/Lib/test/ |
D | test_sys.py | 206 self.assertRaises(TypeError, sys.getrecursionlimit, 42) 207 oldlimit = sys.getrecursionlimit() 211 self.assertEqual(sys.getrecursionlimit(), 10000) 218 oldlimit = sys.getrecursionlimit() 258 oldlimit = sys.getrecursionlimit()
|
D | test_isinstance.py | 289 for cnt in range(sys.getrecursionlimit()+5):
|
D | test_difflib.py | 249 limit = sys.getrecursionlimit()
|
D | test_dictviews.py | 264 for i in range(sys.getrecursionlimit() + 100):
|
D | list_tests.py | 65 for i in range(sys.getrecursionlimit() + 100):
|
D | test_compile.py | 543 fail_depth = sys.getrecursionlimit() * 3
|
D | mapping_tests.py | 627 for i in range(sys.getrecursionlimit() + 100):
|
D | test_sys_settrace.py | 660 for i in range(sys.getrecursionlimit() + 1):
|
D | test_traceback.py | 349 rec_limit = sys.getrecursionlimit()
|
D | test_dict.py | 578 for i in range(sys.getrecursionlimit() + 100):
|
/external/python/cpython2/Lib/test/ |
D | test_sys.py | 213 self.assertRaises(TypeError, sys.getrecursionlimit, 42) 214 oldlimit = sys.getrecursionlimit() 218 self.assertEqual(sys.getrecursionlimit(), 10000)
|
D | test_difflib.py | 204 limit = sys.getrecursionlimit()
|
D | test_isinstance.py | 263 for cnt in xrange(sys.getrecursionlimit()+5):
|
D | test_dictviews.py | 185 for i in range(sys.getrecursionlimit() + 100):
|
D | test_sys_settrace.py | 435 for i in xrange(sys.getrecursionlimit() + 1):
|
D | list_tests.py | 50 for i in range(sys.getrecursionlimit() + 100):
|
D | test_dict.py | 428 for i in range(sys.getrecursionlimit() + 100):
|
D | mapping_tests.py | 651 for i in range(sys.getrecursionlimit() + 100):
|
/external/python/cpython3/Lib/ |
D | compileall.py | 94 maxlevels = sys.getrecursionlimit()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.4rc1.rst | 679 sys.getrecursionlimit() times, to protect against objects which create a new
|
12