Home
last modified time | relevance | path

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

12

/third_party/python/Lib/idlelib/
Drun.py363 @functools.wraps(sys.getrecursionlimit)
364 def getrecursionlimit(): function
365 return getrecursionlimit.__wrapped__() - RECURSIONLIMIT_DELTA
367 fixdoc(getrecursionlimit, f"""\
372 sys.setrecursionlimit(sys.getrecursionlimit() + RECURSIONLIMIT_DELTA)
375 sys.getrecursionlimit = getrecursionlimit
386 getattr(sys.getrecursionlimit, '__wrapped__', None)
389 sys.getrecursionlimit = sys.getrecursionlimit.__wrapped__
390 sys.setrecursionlimit(sys.getrecursionlimit() - RECURSIONLIMIT_DELTA)
/third_party/python/Lib/test/crashers/
Dtrace_at_recursion_limit.py22 print(sys.getrecursionlimit())
/third_party/python/Lib/idlelib/idle_test/
Dtest_run.py343 orig_reclimit = sys.getrecursionlimit()
348 new_reclimit = sys.getrecursionlimit()
352 orig_reclimit = sys.getrecursionlimit()
355 new_reclimit = sys.getrecursionlimit()
/third_party/python/Tools/scripts/
Dfind_recursionlimit.py96 compile("()" * (10 * sys.getrecursionlimit()), "<single>", "single")
/third_party/python/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()``.
233 Default value of *maxlevels* was changed from ``10`` to ``sys.getrecursionlimit()``
Dexceptions.rst376 :func:`sys.getrecursionlimit`) is exceeded.
Didle.rst776 that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` and
/third_party/python/Lib/test/
Dtest_sys.py208 self.assertRaises(TypeError, sys.getrecursionlimit, 42)
209 oldlimit = sys.getrecursionlimit()
213 self.assertEqual(sys.getrecursionlimit(), 10000)
220 oldlimit = sys.getrecursionlimit()
260 oldlimit = sys.getrecursionlimit()
Dtest_isinstance.py356 for cnt in range(sys.getrecursionlimit()+5):
Dtest_traceback.py432 rec_limit = sys.getrecursionlimit()
1259 self.assertGreater(len(res), sys.getrecursionlimit())
1262 sys.getrecursionlimit() * 0.5)
Dtest_compile.py547 fail_depth = sys.getrecursionlimit() * 3
548 crash_depth = sys.getrecursionlimit() * 300
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):
Dmapping_tests.py627 for i in range(sys.getrecursionlimit() + 100):
Dtest_sys_settrace.py1195 for i in range(sys.getrecursionlimit() + 1):
Dtest_dict.py598 for i in range(sys.getrecursionlimit() + 100):
Dtest_exceptions.py1324 recursionlimit = sys.getrecursionlimit()
/third_party/python/Lib/
Dcompileall.py96 maxlevels = sys.getrecursionlimit()
Dinspect.py638 recursion_limit = sys.getrecursionlimit()
/third_party/python/Lib/test/support/
D__init__.py2016 original_depth = sys.getrecursionlimit()
/third_party/python/Misc/NEWS.d/
D3.6.4rc1.rst679 sys.getrecursionlimit() times, to protect against objects which create a new
/third_party/python/Doc/tutorial/
Dmodules.rst322 'getrecursionlimit', 'getrefcount', 'getsizeof', 'getswitchinterval',
/third_party/python/Lib/unittest/test/testmock/
Dtestmock.py900 current = sys.getrecursionlimit()
/third_party/python/Doc/whatsnew/
D2.0.rst638 recursion depth can be read and modified using :func:`sys.getrecursionlimit` and

12