[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

Thomas Kluyver report at bugs.python.org
Mon Feb 18 14:40:10 CET 2013


Thomas Kluyver added the comment:

Updated version of the patch.

Changed from review:
- Included test.bytecode_helper module used by some tests
- Updated docs to indicate that the changes are new in 3.4
- ByteCode -> Bytecode
- Added meaningful repr for Bytecode

Still to do:
- ? Re-expose attributes from code object on Bytecode instance
- Tests & documentation for Bytecode class
- Split changes into multiple patches

----------
Added file: http://bugs.python.org/file29114/dis_api2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11816>
_______________________________________


More information about the Python-bugs-list mailing list