diff options
author | Guido van Rossum <guido@python.org> | 2001-10-03 13:58:35 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-03 13:58:35 +0000 |
commit | 1e1de1cf35ebd6b3cfcc20e40991fa437b8e9864 (patch) | |
tree | fa5a50c8634bd19a3c6e74f090208b501ad4af2c /Python/pythonrun.c | |
parent | ae3b1258e48281fd44f48a0a93ff582ae57f6c70 (diff) | |
download | cpython-git-1e1de1cf35ebd6b3cfcc20e40991fa437b8e9864.tar.gz |
typeobject.c, slot_tp_gettattr_hook(): fix the speedup hack -- the
test for getattribute==NULL was bogus because it always found
object.__getattribute__. Pick it apart using the trick we learned
from slot_sq_item, and if it's just a wrapper around
PyObject_GenericGetAttr, zap it. Also added a long XXX comment
explaining the consequences.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions