mirror of
https://github.com/python/cpython.git
synced 2026-05-08 05:32:01 -04:00
378edee0a3
AttributeError was raised always when attribute is not found. This commit skip raising AttributeError when `tp_getattro` is `PyObject_GenericGetAttr`. It makes hasattr() and getattr() about 4x faster when attribute is not found.
Miscellaneous source files for the main Python shared library