]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Don't inherit tp_new! This is a retraction of half of the previous
authorGuido van Rossum <guido@python.org>
Fri, 5 Apr 2002 22:04:18 +0000 (22:04 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 Apr 2002 22:04:18 +0000 (22:04 +0000)
checkin.  And since that one was, this one is also a:

Bugfix candidate.

Objects/typeobject.c

index 849840c8cf0a040203dbdbad8aba9617bae7c913..71d22f3534d1a25a1caa9ed5a683f78ae8fb765f 100644 (file)
@@ -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);
        }
 }