[issue46864] Deprecate ob_shash in BytesObject
Brandt Bucher
report at bugs.python.org
Thu Mar 24 12:40:38 EDT 2022
Brandt Bucher <brandtbucher at gmail.com> added the comment:
Just a note: as of this week (GH-31888), we no longer use bytes objects to store bytecode. Instead, the instructions are stored as part of the PyCodeObject struct.
(Of course, we still use bytes objects for the various exception handling and debugging tables attached to code objects, but these are very cold fields by comparison.)
Not to say this work isn't worthwhile, but it probably isn't worth doing for `co_code` *alone*.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46864>
_______________________________________
More information about the Python-bugs-list
mailing list