You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Handle PyPy JUMP_IF_NOT_DEBUG
Update README.rst to note PyPY and reorganize a little
This commit is contained in:
@@ -2,14 +2,19 @@
|
||||
# Bug in 2.6 is having multple COME_FROMs due to the
|
||||
# "and" in the "if" clause
|
||||
if __name__:
|
||||
if __file__ and name:
|
||||
if __file__ and __name__:
|
||||
pass
|
||||
elif name:
|
||||
elif __name__:
|
||||
pass
|
||||
|
||||
# 2.6.9 transformer.py
|
||||
# Bug in 2.6 is multple COME_FROMs as a result
|
||||
# of the "or" in the "assert"
|
||||
|
||||
# In PyPy the assert is handled via PyPy's unique JUMP_IF_NOT_DEBUG
|
||||
# instruction.
|
||||
|
||||
# Also note that the "else: pass" is superfluous
|
||||
if __name__:
|
||||
pass
|
||||
elif __file__:
|
||||
|
Reference in New Issue
Block a user