Commit 6ee36a5a authored by Benjamin Peterson's avatar Benjamin Peterson

Backed out changeset e7062dd9085e (#25731)

parent 253c0bff
......@@ -6272,7 +6272,7 @@ update_one_slot(PyTypeObject *type, slotdef *p)
sanity checks and constructing a new argument
list. Cut all that nonsense short -- this speeds
up instance creation tremendously. */
specific = (void *)((PyTypeObject *)PyCFunction_GET_SELF(descr))->tp_new;
specific = (void *)type->tp_new;
/* XXX I'm not 100% sure that there isn't a hole
in this reasoning that requires additional
sanity checks. I'll buy the first person to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment