[Python-checkins] cpython: Issue #27830: Fix _PyObject_FastCallKeywords()
victor.stinner
python-checkins at python.org
Wed Aug 24 19:14:24 EDT 2016
https://hg.python.org/cpython/rev/0ff25676505d
changeset: 102903:0ff25676505d
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Aug 25 01:00:31 2016 +0200
summary:
Issue #27830: Fix _PyObject_FastCallKeywords()
Pass stack, not unrelated and uninitialized args!
files:
Objects/abstract.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/abstract.c b/Objects/abstract.c
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -2365,7 +2365,7 @@
}
if (PyCFunction_Check(func) && nkwargs == 0) {
- return _PyCFunction_FastCallDict(func, args, nargs, NULL);
+ return _PyCFunction_FastCallDict(func, stack, nargs, NULL);
}
/* Slow-path: build temporary tuple and/or dict */
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list