[issue42266] LOAD_ATTR cache does not fully replicate PyObject_GetAttr behavior

Pablo Galindo Salgado report at bugs.python.org
Wed Nov 4 17:37:43 EST 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Given that having attributes that are classes is quite uncommon, I think we can not optimize of the attribute itself is a class instead of checking for descriptors on every hit, hurting the performance gains

----------

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


More information about the Python-bugs-list mailing list