You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
2.7 continue-detection bug
This commit is contained in:
@@ -277,6 +277,7 @@ class Scanner2(Scanner):
|
|||||||
self.opc.POP_BLOCK)):
|
self.opc.POP_BLOCK)):
|
||||||
if ((offset in self.linestartoffsets and
|
if ((offset in self.linestartoffsets and
|
||||||
self.code[self.prev[offset]] == self.opc.JUMP_ABSOLUTE)
|
self.code[self.prev[offset]] == self.opc.JUMP_ABSOLUTE)
|
||||||
|
or self.code[target] == self.opc.FOR_ITER
|
||||||
or offset not in self.not_continue):
|
or offset not in self.not_continue):
|
||||||
op_name = 'CONTINUE'
|
op_name = 'CONTINUE'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user