ssue #27213: Reintroduce checks in _PyStack_AsDict()

This commit is contained in:
Victor Stinner 2016-09-12 12:55:28 +02:00
parent 410b9887e1
commit b1e169bf4b
3 changed files with 23 additions and 9 deletions

View file

@ -275,7 +275,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
PyAPI_FUNC(PyObject *) _PyStack_AsDict(
PyObject **values,
PyObject *kwnames);
Py_ssize_t nkwargs,
PyObject *kwnames,
PyObject *func);
/* Convert (args, nargs, kwargs) into a (stack, nargs, kwnames).