I am getting a seg fault in PyArg_ParseTuple when I give no arguments
to a method I have written in C. The offending line is:
ok = PyArg_ParseTuple(args, "Os", &mything, &switches);
This works fine when I give it the proper arguments but seg faults
when I give it no arguments. It Does The Right Thing when I give it
only one argument (i.e. ok tells me that something went wrong). I need
a reality check before I recompile Python with debugging on etc. etc.
I am using Python-1.2-beta-4 and gcc 2.6.3.
Thanks
--__o Ray Suorsa \<, grendel@windchime.arc.nasa.gov (pgp capable) ()/ () NASA/Ames:USA (Lab) +1 415-604-6334 (Office) +1 415-604-5451