Allow PyPy 2.7 opcodes and magic and ...

disas.py:
  * more aggressive code checking
magics.py:
  * Add PYPY magic
opcodes_27.py:
  * Add PYPY opcodes
This commit is contained in:
rocky
2016-05-18 15:04:06 -04:00
parent 06edeeeb46
commit fbcdc7a181
4 changed files with 10 additions and 7 deletions

View File

@@ -61,6 +61,8 @@ def disco_loop(disasm, queue, real_out, use_uncompyle6_format):
for t in tokens:
if iscode(t.pattr):
queue.append(t.pattr)
elif iscode(t.attr):
queue.append(t.attr)
print(t.format(), file=real_out)
pass
pass