Commit 642d96a6 authored by Sean Reifscheider's avatar Sean Reifscheider

- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with

  NUL: Bogus TypeError detail string.
parent beddd709
......@@ -1483,6 +1483,9 @@ Build
C-API
-----
- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
NUL: Bogus TypeError detail string.
- Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError
for negative arguments. Previously, it raised TypeError.
......
......@@ -387,7 +387,7 @@ vgetargs1(PyObject *args, const char *format, va_list *p_va, int flags)
flags, levels, msgbuf,
sizeof(msgbuf), &freelist);
if (msg) {
seterror(i+1, msg, levels, fname, message);
seterror(i+1, msg, levels, fname, msg);
return cleanreturn(0, freelist);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment