You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
3.5 continue check is needed on 3.6
This commit is contained in:
@@ -325,7 +325,7 @@ class Scanner3(Scanner):
|
|||||||
(next_opname not in ('END_FINALLY', 'POP_BLOCK',
|
(next_opname not in ('END_FINALLY', 'POP_BLOCK',
|
||||||
# Python 3.0 only uses POP_TOP
|
# Python 3.0 only uses POP_TOP
|
||||||
'POP_TOP'))):
|
'POP_TOP'))):
|
||||||
if (self.version == 3.5 or
|
if (self.version >= 3.5 or
|
||||||
(inst.offset not in self.not_continue) or
|
(inst.offset not in self.not_continue) or
|
||||||
(tokens[-1].type == 'RETURN_VALUE')):
|
(tokens[-1].type == 'RETURN_VALUE')):
|
||||||
opname = 'CONTINUE'
|
opname = 'CONTINUE'
|
||||||
|
Reference in New Issue
Block a user