PyArg_ParseTuple exception catching

x0rster at gmail.com x0rster at gmail.com
Mon Dec 26 19:37:46 CET 2005


Hi,

I'm getting an error when using PyArg_ParseTuple and I don't know
why...In the documentation I've read that PyArg_ParseTuple raise an
appropriate exception :
"on failure, it returns false and raises the appropriate exception."

How can I get the exception in C ? because I've checked the arguments
before calling the C python function and I don't know why I've got a
problem when parsing the arguments list...

Happy new year,
PICA Frédéric




More information about the Python-list mailing list