Message5103
The standard Python module dis.dis only works on PyBytecode objects, not
PyTableCode ones (which are the default). At some point, there will be
more opportunities to use PyBytecode, for now it's purely experimental
(see Lib/test/test_pbcvm.py for how to use, or the source of
org.python.core.PyBytecode, which uses dis for debugging). Because
PyTablecode objects use Java bytecode, it doesn't makes sense to use dis
on them. Nor is the bytecode directly available - you would need
something like inspect to fetch that resource, then use a tool like asm
to disassemble or jad to decompile. |
|
Date |
User |
Action |
Args |
2009-09-04 15:44:32 | zyasoft | set | messageid: <1252079072.56.0.396069832802.issue1459@psf.upfronthosting.co.za> |
2009-09-04 15:44:32 | zyasoft | set | recipients:
+ zyasoft, goon12 |
2009-09-04 15:44:32 | zyasoft | link | issue1459 messages |
2009-09-04 15:44:32 | zyasoft | create | |
|