gh-102213: Optimize the performance of `__getattr__` (GH-102248)
When __getattr__ is defined, python with try to find an attribute using _PyObject_GenericGetAttrWithDict find nothing is reasonable so we don't need an exception, it will hurt performance.
W
wangxiang-hz committed
aa0a73d1bc53dcb6348a869df1e775138991e561
Parent: 5ffdaf7
Committed by GitHub <noreply@github.com>
on 3/11/2023, 11:11:37 AM