Files
cpython/Include
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
..
2016-01-26 00:40:57 +01:00
2014-10-10 11:55:41 +02:00
2018-01-09 10:27:57 -05:00
2017-09-29 15:53:19 -07:00
2017-09-29 15:53:19 -07:00
2016-08-20 08:03:06 +00:00
2017-09-14 18:13:16 -07:00