commit | 19c1cd5b352e503c4585398d2533e5ae3bf4c189 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Sep 21 21:24:49 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Sep 21 21:24:49 2001 +0000 |
tree | 4749110a9fdd7d5ac0c249b8d3d860676524d81e | |
parent | 56dd35bd44684d6d03db6fdfb2055898f0ef0b91 [diff] |
Add the __getattr__ hook back. The rules are now: - if __getattribute__ exists, it is called first; if it doesn't exists, PyObject_GenericGetAttr is called first. - if the above raises AttributeError, and __getattr__ exists, it is called.