[New-bugs-announce] [issue45168] dis output for co_consts is confusing
report at bugs.python.org
Fri Sep 10 19:31:01 EDT 2021
New submission from Irit Katriel <iritkatriel at gmail.com>:
When dis doesn't have co_consts, it just prints the index of the const in () instead. This is both unnecessary and confusing because (1) we already have the index and (2) there is no indication that this is the index and not the value.
Can we change the output so that it doesn't print the value if it's missing?
nosy: gvanrossum, iritkatriel
title: dis output for co_consts is confusing
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce