You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Test for 2.7 loop try else bug
This commit is contained in:
BIN
test/bytecode_2.7/04_loop_try_else.pyc
Normal file
BIN
test/bytecode_2.7/04_loop_try_else.pyc
Normal file
Binary file not shown.
12
test/simple_source/bug27+/04_loop_try_else.py
Normal file
12
test/simple_source/bug27+/04_loop_try_else.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# From Python 2.7 ihooks.py
|
||||||
|
def ensure_fromlist(self, fromlist):
|
||||||
|
for sub in fromlist:
|
||||||
|
if sub:
|
||||||
|
if not recursive:
|
||||||
|
try:
|
||||||
|
all = 5
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
all = 6
|
||||||
|
continue
|
Reference in New Issue
Block a user