You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Profiling workarounds, more coverage ...
test/Makefile: more grammar checking. Update python versions 10_del.pyc add test of DEL_GLOBAL check_ast.py, pysource.py: Profileing workarounds
This commit is contained in:
@@ -263,6 +263,11 @@ class Python26Parser(Python2Parser):
|
||||
if invalid:
|
||||
return invalid
|
||||
if rule == ('and', ('expr', 'jmp_false', 'expr', '\\e_come_from_opt')):
|
||||
|
||||
# FIXME: workaround profiling bug
|
||||
if ast[1] is None:
|
||||
return False
|
||||
|
||||
# Test that jmp_false jumps to the end of "and"
|
||||
# or that it jumps to the same place as the end of "and"
|
||||
jmp_false = ast[1][0]
|
||||
|
Reference in New Issue
Block a user