[issue17916] Provide dis.Bytecode based equivalent of dis.distb

Claudiu.Popa report at bugs.python.org
Thu Oct 24 20:02:46 CEST 2013


Claudiu.Popa added the comment:

Here's the updated version according to your comments. Because there is no need for show_info() and info(), the current class is not a subclass of Bytecode (as I implied from your first message). After issue19378 is fixed, we could change the line_offset with something else in TracebackBytecode.__iter__.

----------
Added file: http://bugs.python.org/file32333/dis_tb.patch

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


More information about the Python-bugs-list mailing list