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 <rep...@bugs.python.org> <http://bugs.python.org/issue17916> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com