[Zope-Coders] Python: new style getargs format but argument is not a tuple

Guido van Rossum guido@python.org
Mon, 07 Jan 2002 11:07:17 -0500


> What does this Python error message mean? I get this message when 
> I pass a list to the IIBucket() instead of a dictionary ;-)

It's a bug in the extension.  You are probably calling
PyArg_ParseTuple() in a function whose PyMethodDef entry doesn't
specify METH_VARARGS.

--Guido van Rossum (home page: http://www.python.org/~guido/)