You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
pydisassemble disassemble without grammar mangling
Some other small cleanups as well
This commit is contained in:
@@ -513,7 +513,8 @@ 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,
|
||||
'showstack': 'full'}
|
||||
p = get_python_parser(version, parser_debug)
|
||||
return parse(p, tokens, customize)
|
||||
|
||||
|
Reference in New Issue
Block a user