mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Backed out changeset b9c9691c72c5
Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs().
This commit is contained in:
parent
c8d03187ff
commit
de4ae3d486
33 changed files with 83 additions and 71 deletions
|
|
@ -1259,7 +1259,7 @@ csv_writerow(WriterObj *self, PyObject *seq)
|
|||
(void *) self->rec, self->rec_len);
|
||||
if (line == NULL)
|
||||
return NULL;
|
||||
result = _PyObject_CallArg1(self->writeline, line);
|
||||
result = PyObject_CallFunctionObjArgs(self->writeline, line, NULL);
|
||||
Py_DECREF(line);
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue