Mercurial > cpython-lru_cache-weakref
diff Python/getargs.c @ 34846:13d5caa1e9d0 legacy-trunk
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.
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Wed, 30 Mar 2005 16:41:55 +0000 |
| parents | 4812f6a7f735 |
| children | 1fdfd0130e28 |
line wrap: on
line diff
--- a/Python/getargs.c Wed Mar 30 16:32:10 2005 +0000 +++ b/Python/getargs.c Wed Mar 30 16:41:55 2005 +0000 @@ -1299,7 +1299,8 @@ /* 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),
