Message5103

Author zyasoft
Recipients goon12, zyasoft
Date 2009-09-04.15:44:32
SpamBayes Score 5.3734794e-14
Marked as misclassified No
Message-id <1252079072.56.0.396069832802.issue1459@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-09-04 15:44:32zyasoftsetmessageid: <1252079072.56.0.396069832802.issue1459@psf.upfronthosting.co.za>
2009-09-04 15:44:32zyasoftsetrecipients: + zyasoft, goon12
2009-09-04 15:44:32zyasoftlinkissue1459 messages
2009-09-04 15:44:32zyasoftcreate