New submission from Irit Katriel <iritkatr...@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?

----------
messages: 401620
nosy: gvanrossum, iritkatriel
priority: normal
severity: normal
status: open
title: dis output for co_consts is confusing

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45168>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to