You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Fixes #414
This commit is contained in:
@@ -437,7 +437,7 @@ class Scanner30(Scanner3):
|
|||||||
self.fixed_jumps[offset] = self.restrict_to_parent(target, parent)
|
self.fixed_jumps[offset] = self.restrict_to_parent(target, parent)
|
||||||
pass
|
pass
|
||||||
pass
|
pass
|
||||||
elif self.version >= 3.5:
|
elif self.version >= (3, 5):
|
||||||
# 3.5+ has Jump optimization which too often causes RETURN_VALUE to get
|
# 3.5+ has Jump optimization which too often causes RETURN_VALUE to get
|
||||||
# misclassified as RETURN_END_IF. Handle that here.
|
# misclassified as RETURN_END_IF. Handle that here.
|
||||||
# In RETURN_VALUE, JUMP_ABSOLUTE, RETURN_VALUE is never RETURN_END_IF
|
# In RETURN_VALUE, JUMP_ABSOLUTE, RETURN_VALUE is never RETURN_END_IF
|
||||||
@@ -483,4 +483,3 @@ if __name__ == "__main__":
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
print("Need to be Python 3.0 to demo; I am version %s" % version_tuple_to_str())
|
print("Need to be Python 3.0 to demo; I am version %s" % version_tuple_to_str())
|
||||||
[w
|
|
||||||
|
Reference in New Issue
Block a user