diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-01-09 19:54:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-09 19:54:52 (GMT) |
commit | d4864c61e3e27e337762dc45e504977299bd5b46 (patch) | |
tree | 5d117bc43572821fc03b1b0ae788db79375296bb /Lib/test/test_dis.py | |
parent | b4ebaa7099c3413b42a97777581c4ca560fe7540 (diff) | |
download | cpython-d4864c61e3e27e337762dc45e504977299bd5b46.zip cpython-d4864c61e3e27e337762dc45e504977299bd5b46.tar.gz cpython-d4864c61e3e27e337762dc45e504977299bd5b46.tar.bz2 |
bpo-24340: Fix estimation of the code stack size. (#5076)
Diffstat (limited to 'Lib/test/test_dis.py')
-rw-r--r-- | Lib/test/test_dis.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py index bfbbee2..590f041 100644 --- a/Lib/test/test_dis.py +++ b/Lib/test/test_dis.py @@ -284,18 +284,18 @@ dis_traceback = """\ 22 POP_TOP 24 STORE_FAST 0 (e) 26 POP_TOP - 28 SETUP_FINALLY 12 (to 42) + 28 SETUP_FINALLY 10 (to 40) %3d 30 LOAD_FAST 0 (e) 32 LOAD_ATTR 1 (__traceback__) 34 STORE_FAST 1 (tb) 36 POP_BLOCK - 38 POP_EXCEPT - 40 LOAD_CONST 0 (None) - >> 42 LOAD_CONST 0 (None) - 44 STORE_FAST 0 (e) - 46 DELETE_FAST 0 (e) - 48 END_FINALLY + 38 LOAD_CONST 0 (None) + >> 40 LOAD_CONST 0 (None) + 42 STORE_FAST 0 (e) + 44 DELETE_FAST 0 (e) + 46 END_FINALLY + 48 POP_EXCEPT 50 JUMP_FORWARD 2 (to 54) >> 52 END_FINALLY @@ -741,7 +741,7 @@ Filename: (.*) Argument count: 0 Kw-only arguments: 0 Number of locals: 2 -Stack size: 17 +Stack size: 10 Flags: OPTIMIZED, NEWLOCALS, NOFREE, COROUTINE Constants: 0: None |