Help with tuples please?

Skip Montanaro skip at mojam.com
Tue Dec 7 09:06:00 EST 1999


    Arinte>   PyErr_SetString(PyExc_SystemError,
    Arinte>       "new style getargs format but argument is not a tuple");

It's been awhile since I ran across this problem (and you didn't post
example code ;-), so my memory may fail me here.  Have you checked the
initialization of your PyMethodDef struct(s) in your extension module?  Each
item in the methods array should have three elements, the third being the
integer 1.  Check Modules/xxmodule.c for a skeletal definition.

Skip Montanaro | http://www.mojam.com/
skip at mojam.com | http://www.musi-cal.com/
847-971-7098   | Python: Programming the way Guido indented...




More information about the Python-list mailing list