SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72140 0 27 Python

bpo-30600: Fix error messages (condition order in Argument Clinic) (#2051)

The function '_PyArg_ParseStack()' and
'_PyArg_UnpackStack' were failing (with error
"XXX() takes Y argument (Z given)") before
the function '_PyArg_NoStackKeywords()' was called.
Thus, the latter did not raise its more meaningful
error : "XXX() takes no keyword arguments".
S
Sylvain committed
7445381c606faf20e253da42656db478a4349f8e
Parent: e5f6e86
Committed by Serhiy Storchaka <storchaka@gmail.com> on 6/10/2017, 4:51:48 AM