blob: 55a52fa9f1c058211a5d2a64e6a67ad95d29301d (
plain)
1
2
3
|
``hasattr(obj, name)`` and ``getattr(obj, name, default)`` are about 4 times
faster than before when ``name`` is not found and ``obj`` doesn't override
``__getattr__`` or ``__getattribute__``.
|