You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Stronger while 1 testing...
Make instructions available in reduce tests. Back off of a while test that was semantically different.
This commit is contained in:
@@ -65,6 +65,8 @@ class PythonParser(GenericASTBuilder):
|
||||
# semantic actions
|
||||
self.singleton = frozenset(('str', 'joined_str', 'store', '_stmts', 'suite_stmts_opt',
|
||||
'inplace_op'))
|
||||
# Instructions filled in from scanner
|
||||
self.insts = []
|
||||
|
||||
def ast_first_offset(self, ast):
|
||||
if hasattr(ast, 'offset'):
|
||||
|
Reference in New Issue
Block a user