This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients alex, belopolsky, eric.snow, jcea, loewis, meador.inge, ncoghlan, rfk, rhettinger, ron_adam, yselivanov
Date 2013-01-07.12:20:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357561248.4.0.235993097353.issue11816@psf.upfronthosting.co.za>
In-reply-to
Content
To clarify the vague allusion in my last comment, Ron's suggestion was along the lines of creating a dis.Bytecode object that encapsulated everything the dis module can figure out about a piece of compiled code.

That would mean exposing the kind of info reported in a string by dis.code_info() as attributes/properties, and have the proposed "get_opinfo()" be the __iter__ method on the disassembled Bytecode objects.
History
Date User Action Args
2013-01-07 12:20:48ncoghlansetrecipients: + ncoghlan, loewis, rhettinger, jcea, belopolsky, ron_adam, alex, rfk, meador.inge, eric.snow, yselivanov
2013-01-07 12:20:48ncoghlansetmessageid: <1357561248.4.0.235993097353.issue11816@psf.upfronthosting.co.za>
2013-01-07 12:20:48ncoghlanlinkissue11816 messages
2013-01-07 12:20:48ncoghlancreate