[Python-Dev] Exception needed: Not enough arguments to PyArg_ParseTuple

Edward C. Jones edcjones at comcast.net
Mon Mar 14 16:25:26 CET 2005


I had

PyArg_ParseTuple(args, "s#s#i:compare", &p1, &bytes1, &p2, &bytes2)

in a program. There are not enough arguments to PyArg_ParseTuple. Does 
PyArg_ParseTuple know how many arguments it is getting? If so, I suggest 
that an exception should be raised here.



More information about the Python-Dev mailing list