Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(49062)

Unified Diff: Python/sysmodule.c

Issue 27809: _PyObject_FastCall(): add support for keyword arguments
Patch Set: Created 3 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Python/pythonrun.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Python/sysmodule.c Mon Aug 22 14:29:54 2016 +0200
+++ b/Python/sysmodule.c Mon Aug 22 15:32:49 2016 +0200
@@ -380,7 +380,7 @@ call_trampoline(PyObject* callback,
stack[2] = (arg != NULL) ? arg : Py_None;
/* call the Python-level function */
- result = _PyObject_FastCall(callback, stack, 3, NULL);
+ result = _PyObject_FastCall(callback, stack, 3);
PyFrame_LocalsToFast(frame, 1);
if (result == NULL) {
@@ -2122,7 +2122,7 @@ sys_pyfile_write_unicode(PyObject *unico
if (writer == NULL)
goto error;
- result = _PyObject_FastCall(writer, &unicode, 1, NULL);
+ result = _PyObject_CallArg1(writer, unicode);
if (result == NULL) {
goto error;
} else {
« no previous file with comments | « Python/pythonrun.c ('k') | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+