Handling User Defined Exceptions returned from C

Adrian Eyre a.eyre at optichrome.com
Tue Feb 22 04:29:56 EST 2000


> return PyBuildValue("i", -1);

IIRC, if you set an error in C, you must return NULL from the function.

-----------------------------------------------------------------
Adrian Eyre <a.eyre at optichrome.com> - http://www.optichrome.com 





More information about the Python-list mailing list