diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-12 22:11:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-12 22:11:21 (GMT) |
commit | 50856d5ae745d1c9f691afbd78572bf073c941cf (patch) | |
tree | d628ac3d10d0fa02551a8a45d43c03d948306600 /Lib/bdb.py | |
parent | 60f26691f5aeff555f27c62aee11efb07e20ecdc (diff) | |
download | cpython-50856d5ae745d1c9f691afbd78572bf073c941cf.zip cpython-50856d5ae745d1c9f691afbd78572bf073c941cf.tar.gz cpython-50856d5ae745d1c9f691afbd78572bf073c941cf.tar.bz2 |
sys.setrecursionlimit() now raises RecursionError
Issue #25274: sys.setrecursionlimit() now raises a RecursionError if the new
recursion limit is too low depending at the current recursion depth. Modify
also the "lower-water mark" formula to make it monotonic. This mark is used to
decide when the overflowed flag of the thread state is reset.
Diffstat (limited to 'Lib/bdb.py')
0 files changed, 0 insertions, 0 deletions