Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use non-function pointer since it's faster
  • Loading branch information
Fidget-Spinner committed Mar 6, 2022
commit bb78e9cd9234084d2e6d6fefd55c2206badf17ff
2 changes: 1 addition & 1 deletion Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -4657,7 +4657,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
if (args == NULL) {
goto error;
}
PyObject *self = cls_t->tp_new(cls_t, args, call_shape.kwnames);
PyObject *self = PyBaseObject_Type.tp_new(cls_t, args, call_shape.kwnames);
Comment thread
Fidget-Spinner marked this conversation as resolved.
Outdated
Py_DECREF(args);
if (self == NULL) {
goto error;
Expand Down