[issue46841] Inline bytecode caches

Mark Shannon report at bugs.python.org
Thu Feb 24 05:55:27 EST 2022


Mark Shannon <mark at hotpy.org> added the comment:

We need to decide what to do about dis.

I don't think we should have a `show_cache` option, as the caches are meaningless junk without quickening (maybe we should drop the CACHE opcode, and just use zeroes).

Instead we should have a `show_quickened` option, to show the quickened form, which we need to make clear is very much implementation defined.
E.g. Cinder might show the machine code as well.

That way, we can present the cache information as extra data on the quickened form, rather than junk instructions.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46841>
_______________________________________


More information about the Python-bugs-list mailing list