You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
More Python 2 and 3 deparsing bugs fixed
* while + if break * try + finall /pass
This commit is contained in:
@@ -448,7 +448,7 @@ def python_parser(version, co, out=sys.stdout, showasm=False,
|
||||
print(t)
|
||||
|
||||
# For heavy grammar debugging
|
||||
# parser_debug = {'rules': True, 'transition': True, 'reduce' : True}
|
||||
parser_debug = {'rules': True, 'transition': True, 'reduce' : True}
|
||||
p = get_python_parser(version, parser_debug)
|
||||
return parse(p, tokens, customize)
|
||||
|
||||
|
Reference in New Issue
Block a user