From: Guido van Rossum Date: Fri, 5 Apr 2002 22:04:18 +0000 (+0000) Subject: Don't inherit tp_new! This is a retraction of half of the previous X-Git-Tag: v2.3c1~6107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b8ab74c8aecef19314375c440669b4364a236fe;p=thirdparty%2FPython%2Fcpython.git Don't inherit tp_new! This is a retraction of half of the previous checkin. And since that one was, this one is also a: Bugfix candidate. --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 849840c8cf0a..71d22f3534d1 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -2024,7 +2024,6 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base) COPYSLOT(tp_init); COPYSLOT(tp_alloc); COPYSLOT(tp_free); - COPYSLOT(tp_new); COPYSLOT(tp_is_gc); } }