[issue22352] Ensure opcode names and args fit in disassembly output

Serhiy Storchaka report at bugs.python.org
Sat Apr 15 04:38:31 EDT 2017


Serhiy Storchaka added the comment:

Proposed patch adjusts column widths of the output of dis.dis() for large line numbers and instruction offsets and adds tests for widths of opcode names.

Unfortunately this test is failed for two new opcodes: BUILD_MAP_UNPACK_WITH_CALL and BUILD_TUPLE_UNPACK_WITH_CALL (26 and 28 characters respectively).

----------
nosy: +serhiy.storchaka
stage:  -> patch review
type: behavior -> enhancement
versions: +Python 3.7 -Python 3.5

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


More information about the Python-bugs-list mailing list