[issue47233] show_caches option affects code positions reported by dis.get_instructions(...)
15r10nk
report at bugs.python.org
Tue Apr 5 15:47:25 EDT 2022
New submission from 15r10nk <15r10nk-python-issues at polarbit.de>:
The Instructions reported by dis.get_instructions(...) and dis.Bytecode(...) have different positions depending on the value of their show_caches argument.
test2.py reproduces the problem.
----------
files: test2.py
messages: 416810
nosy: 15r10nk
priority: normal
severity: normal
status: open
title: show_caches option affects code positions reported by dis.get_instructions(...)
type: behavior
versions: Python 3.11
Added file: https://bugs.python.org/file50722/test2.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47233>
_______________________________________
More information about the Python-bugs-list
mailing list