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

Unified Diff: Python/ceval.c

Issue 27809: _PyObject_FastCall(): add support for keyword arguments
Patch Set: Created 2 years, 11 months 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 | « Objects/typeobject.c ('k') | Python/pythonrun.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Python/ceval.c Mon Aug 22 14:29:54 2016 +0200
+++ b/Python/ceval.c Mon Aug 22 15:32:49 2016 +0200
@@ -4593,7 +4593,7 @@ PyEval_CallObjectWithKeywords(PyObject *
if (args == NULL) {
if (kwargs == NULL) {
- return _PyObject_FastCall(func, NULL, 0, 0);
+ return _PyObject_CallNoArg(func);
}
args = PyTuple_New(0);
@@ -5298,7 +5298,7 @@ import_name(PyFrameObject *f, PyObject *
stack[2] = f->f_locals == NULL ? Py_None : f->f_locals;
stack[3] = fromlist;
stack[4] = level;
- res = _PyObject_FastCall(import_func, stack, 5, NULL);
+ res = _PyObject_FastCall(import_func, stack, 5);
Py_DECREF(import_func);
return res;
}
« no previous file with comments | « Objects/typeobject.c ('k') | Python/pythonrun.c » ('j') | no next file with comments »

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