C API : setting the message of an exception
Benoit Dejean
bnet at ifrance.com
Fri Nov 14 14:07:54 EST 2003
More information about the Python-list mailing list
Fri Nov 14 14:07:54 EST 2003
- Previous message (by thread): true/false inconsistency in Python
- Next message (by thread): C API : setting the message of an exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
(sorry for my english) when an excpetion is raised (like Overflow), before i return NULL, i'd like to modify the message held by the exception. I use PyErr_SetString, but i don't know how to retreive the current message excaption is raised -> extending error message -> raising exception thank you
- Previous message (by thread): true/false inconsistency in Python
- Next message (by thread): C API : setting the message of an exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list