PyArg_ParseTupleAndKeywords in Python3.1

Joachim Dahl dahl.joachim at gmail.com
Thu Dec 17 14:14:34 EST 2009


In the Ubuntu 9.10 version of Python 3.1 (using your patch), there's a
related bug:

>>> foo(b='b')

will set the value of a in the extension module to zero, thus clearing
whatever
default value it may have had.  In other words, the optional character
arguments
that are skipped seem to be nulled by PyArg_ParseTupleAndKeywords().



More information about the Python-list mailing list