diff options
author | Guido van Rossum <guido@python.org> | 2002-08-08 21:57:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-08 21:57:53 (GMT) |
commit | 7bed213224508a5f33ed6d88b48017eea803f499 (patch) | |
tree | 11a94b44d5e7ea821eba7ebc82451c12cbffc6dc /Makefile.pre.in | |
parent | 617e2305ee5d620409aa4679dccc39323a06f7a1 (diff) | |
download | cpython-7bed213224508a5f33ed6d88b48017eea803f499.zip cpython-7bed213224508a5f33ed6d88b48017eea803f499.tar.gz cpython-7bed213224508a5f33ed6d88b48017eea803f499.tar.bz2 |
Significant speedup in new-style object creation: in slot_tp_new(),
intern the string "__new__" so we can call PyObject_GetAttr() rather
than PyObject_GetAttrString(). (Though it's a mystery why slot_tp_new
is being called when a class doesn't define __new__. I'll look into
that tomorrow.)
2.2 backport candidate (but I won't do it).
Diffstat (limited to 'Makefile.pre.in')
0 files changed, 0 insertions, 0 deletions