From: Guido van Rossum Date: Fri, 5 Apr 2002 17:10:16 +0000 (+0000) Subject: Inherit tp_new and tp_is_gc. X-Git-Tag: v2.3c1~6113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc8fe0407a66acc267b60386e9346f3539e0ffae;p=thirdparty%2FPython%2Fcpython.git Inherit tp_new and tp_is_gc. Bugfix candidate. --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index f0e8c8333120..849840c8cf0a 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -2024,6 +2024,8 @@ inherit_slots(PyTypeObject *type, PyTypeObject *base) COPYSLOT(tp_init); COPYSLOT(tp_alloc); COPYSLOT(tp_free); + COPYSLOT(tp_new); + COPYSLOT(tp_is_gc); } }