You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-09-14.09:11:28.413>created_at=<Date2021-09-10.23:31:01.322>labels= ['type-bug', 'library', '3.11']
title='dis output for LOAD_CONST is confusing'updated_at=<Date2021-09-14.09:11:28.412>user='https://github.com/iritkatriel'
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?
New changeset c99fc4e by Irit Katriel in branch 'main': bpo-45168: change dis output to omit missing values rather than replacing them by their index (GH-28313) c99fc4e
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: