From: Michael W. Hudson Date: Wed, 30 Mar 2005 16:41:55 +0000 (+0000) Subject: I suppose a bug report or even a fix would be a better response, but X-Git-Tag: v2.5a0~1859 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5253c30791c2fd73ba85ad11f629b5b021a0a9c4;p=thirdparty%2FPython%2Fcpython.git I suppose a bug report or even a fix would be a better response, but commit a yelp about a noted flaw the error messages for METH_KEYWORDS functions under some circumstances. --- diff --git a/Python/getargs.c b/Python/getargs.c index 48f9dc481d0a..e89f0d587cd3 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -1299,7 +1299,8 @@ vgetargskeywords(PyObject *args, PyObject *keywords, char *format, /* make sure we got an acceptable number of arguments; the message is a little confusing with keywords since keyword arguments which are supplied, but don't match the required arguments - are not included in the "%d given" part of the message */ + are not included in the "%d given" part of the message + XXX and this isn't a bug!? */ if (len < min || max < len) { if (message == NULL) { PyOS_snprintf(msgbuf, sizeof(msgbuf),