Handling User Defined Exceptions returned from C
Adrian Eyre
a.eyre at optichrome.com
Tue Feb 22 04:29:56 EST 2000
More information about the Python-list mailing list
Tue Feb 22 04:29:56 EST 2000
- Previous message (by thread): Handling User Defined Exceptions returned from C
- Next message (by thread): [Python-checkins] CVS: python/dist/src/Lib string.py,1.46,1.47
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Previous message (by thread): Handling User Defined Exceptions returned from C
- Next message (by thread): [Python-checkins] CVS: python/dist/src/Lib string.py,1.46,1.47
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list