You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
disas.py: Do better for finding/turning a .py file into a .pyc file
across supported versions of Python. Add for else list comprehension test
This commit is contained in:
BIN
test/bytecode_2.7/forelse.pyc
Normal file
BIN
test/bytecode_2.7/forelse.pyc
Normal file
Binary file not shown.
5
test/simple-source/comprehension/forelse.py
Normal file
5
test/simple-source/comprehension/forelse.py
Normal file
@@ -0,0 +1,5 @@
|
||||
# Tests:
|
||||
# list_compr ::= BUILD_LIST_0 list_iter
|
||||
# list_iter ::= list_for
|
||||
# list_for ::= expr _for designator list_iter JUMP_BACK
|
||||
[b for b in (0,1,2,3)] if True else 5
|
Reference in New Issue
Block a user