3 ms·
Here's the relevant diff: https://github.com/python/cpython/pull/137968/files#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1R1604 https:/
by edflsafoiewq 10mo ago
Here's the relevant diff: https://github.com/python/cpython/pull/137968/files#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1R1604 https://github.com/python/cpython/pull/137968/files#diff-966...
Search is limited to 20 attributes and non-descriptors only to avoid arbitrary code execution.
I assume constructing AttributeErrors isn't highly performance sensitive.