Home
last modified time | relevance | path

Searched refs:getrecursionlimit (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython3/Lib/idlelib/
Drun.py341 @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/
Dtrace_at_recursion_limit.py22 print(sys.getrecursionlimit())
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_run.py302 orig_reclimit = sys.getrecursionlimit()
307 new_reclimit = sys.getrecursionlimit()
311 orig_reclimit = sys.getrecursionlimit()
314 new_reclimit = sys.getrecursionlimit()
/external/python/cpython3/Tools/scripts/
Dfind_recursionlimit.py96 compile("()" * (10 * sys.getrecursionlimit()), "<single>", "single")
/external/python/cpython3/Doc/library/
Dcompileall.rst135 :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/
Dtest_sys.py206 self.assertRaises(TypeError, sys.getrecursionlimit, 42)
207 oldlimit = sys.getrecursionlimit()
211 self.assertEqual(sys.getrecursionlimit(), 10000)
218 oldlimit = sys.getrecursionlimit()
258 oldlimit = sys.getrecursionlimit()
Dtest_isinstance.py289 for cnt in range(sys.getrecursionlimit()+5):
Dtest_difflib.py249 limit = sys.getrecursionlimit()
Dtest_dictviews.py264 for i in range(sys.getrecursionlimit() + 100):
Dlist_tests.py65 for i in range(sys.getrecursionlimit() + 100):
Dtest_compile.py543 fail_depth = sys.getrecursionlimit() * 3
Dmapping_tests.py627 for i in range(sys.getrecursionlimit() + 100):
Dtest_sys_settrace.py660 for i in range(sys.getrecursionlimit() + 1):
Dtest_traceback.py349 rec_limit = sys.getrecursionlimit()
Dtest_dict.py578 for i in range(sys.getrecursionlimit() + 100):
/external/python/cpython2/Lib/test/
Dtest_sys.py213 self.assertRaises(TypeError, sys.getrecursionlimit, 42)
214 oldlimit = sys.getrecursionlimit()
218 self.assertEqual(sys.getrecursionlimit(), 10000)
Dtest_difflib.py204 limit = sys.getrecursionlimit()
Dtest_isinstance.py263 for cnt in xrange(sys.getrecursionlimit()+5):
Dtest_dictviews.py185 for i in range(sys.getrecursionlimit() + 100):
Dtest_sys_settrace.py435 for i in xrange(sys.getrecursionlimit() + 1):
Dlist_tests.py50 for i in range(sys.getrecursionlimit() + 100):
Dtest_dict.py428 for i in range(sys.getrecursionlimit() + 100):
Dmapping_tests.py651 for i in range(sys.getrecursionlimit() + 100):
/external/python/cpython3/Lib/
Dcompileall.py94 maxlevels = sys.getrecursionlimit()
/external/python/cpython3/Misc/NEWS.d/
D3.6.4rc1.rst679 sys.getrecursionlimit() times, to protect against objects which create a new

12