INADA Naoki 378edee0a3
bpo-32544: Speed up hasattr() and getattr() (GH-5173)
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.
2018-01-16 20:52:41 +09:00
..
2017-11-05 15:37:50 +02:00
2017-11-08 14:44:44 -08:00
2017-09-14 18:13:16 -07:00

Miscellaneous source files for the main Python shared library