Message179260
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. |
|
Date |
User |
Action |
Args |
2013-01-07 12:20:48 | ncoghlan | set | recipients:
+ ncoghlan, loewis, rhettinger, jcea, belopolsky, ron_adam, alex, rfk, meador.inge, eric.snow, yselivanov |
2013-01-07 12:20:48 | ncoghlan | set | messageid: <1357561248.4.0.235993097353.issue11816@psf.upfronthosting.co.za> |
2013-01-07 12:20:48 | ncoghlan | link | issue11816 messages |
2013-01-07 12:20:48 | ncoghlan | create | |
|