You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
limit 3.x scope of ifelstmt reduction check to 3.6
at least for now. Again, we need major cleanup of this stuff, but that will be done later.
This commit is contained in:
@@ -1547,9 +1547,8 @@ class Python3Parser(PythonParser):
|
||||
self.check_reduce["while1elsestmt"] = "noAST"
|
||||
self.check_reduce["ifelsestmt"] = "AST"
|
||||
self.check_reduce["ifstmt"] = "AST"
|
||||
if self.version >= 3.1:
|
||||
if self.version != 3.5:
|
||||
self.check_reduce["iflaststmt"] = "AST"
|
||||
if self.version == 3.6:
|
||||
self.check_reduce["iflaststmt"] = "AST"
|
||||
self.check_reduce["iflaststmtl"] = "AST"
|
||||
self.check_reduce["annotate_tuple"] = "noAST"
|
||||
self.check_reduce["except_handler_else"] = "tokens"
|
||||
|
Reference in New Issue
Block a user