Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
This happens because:
Py_ssize_t c_args_len = 0;- But,
PyEval_EvalCodeExexpectsint:PyObject*PyEval_EvalCodeEx(PyObject*_co, PyObject*globals, PyObject*locals, PyObject*const*args, intargcount, PyObject*const*kws, intkwcount, PyObject*const*defs, intdefcount, PyObject*kwdefs, PyObject*closure)
Looks like this is a side effect of ae62bdd
Possible solution is to use an explicit (int) converter.
I don't think that we should really worry about an overflow in the test code.
I will send a PR to check if this is a proper fix.
CC @ambv as the original PR reviewer.
Linked PRs
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
