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.
This commit is contained in:
parent
d1bfe5e5fd
commit
6b8ab74c8a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue