[Python-checkins] python/dist/src/Python getargs.c,2.104,2.105
mwh at users.sourceforge.net
mwh at users.sourceforge.net
Wed Mar 30 18:42:20 CEST 2005
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29451
Modified Files:
getargs.c
Log Message:
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.
Index: getargs.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/getargs.c,v
retrieving revision 2.104
retrieving revision 2.105
diff -u -d -r2.104 -r2.105
--- getargs.c 3 Mar 2005 12:26:35 -0000 2.104
+++ getargs.c 30 Mar 2005 16:41:55 -0000 2.105
@@ -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),
More information about the Python-checkins
mailing list