[issue42093] Add opcode cache for LOAD_ATTR

Guido van Rossum report at bugs.python.org
Mon Jan 4 22:57:20 EST 2021


Guido van Rossum <guido at python.org> added the comment:

Hm, I was thinking to recognize the specific type of descriptor used by slots and cache only that. Though we would still have to consider updates to C.__dict__ (that's handled by looking at the dict version right?).

----------

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


More information about the Python-bugs-list mailing list