diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-15 12:36:50 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-15 12:36:50 +0100 |
| commit | d1e35dd9ee50adf2c69445893ce4e5576b983091 (patch) | |
| tree | 74819772c5c7a54eb47750c5f749e68b1804dc0a /Objects | |
| parent | 44dcd1e1d53aff424219685590de196d296b3504 (diff) | |
| download | cpython-git-d1e35dd9ee50adf2c69445893ce4e5576b983091.tar.gz | |
Fix _PyObject_CallFunctionVa(), use the small stack
Issue #28915. Oops, I disabled the small stack to test both code paths. It's
now fixed.
Diffstat (limited to 'Objects')
| -rw-r--r-- | Objects/abstract.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index 8447fdbc24..7da97ac8a8 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -2524,8 +2524,7 @@ _PyObject_CallFunctionVa(PyObject *callable, const char *format, va_list va, int is_size_t) { PyObject* small_stack[5]; - /*const Py_ssize_t small_stack_len = Py_ARRAY_LENGTH(small_stack);*/ - const Py_ssize_t small_stack_len = 0; + const Py_ssize_t small_stack_len = Py_ARRAY_LENGTH(small_stack); PyObject **stack; Py_ssize_t nargs, i; PyObject *result; |
