Exception handling and traceback from Python/C API
Mark Hammond
mhammond at skippinet.com.au
Thu Jan 31 01:17:45 EST 2002
More information about the Python-list mailing list
Thu Jan 31 01:17:45 EST 2002
- Previous message (by thread): Exception handling and traceback from Python/C API
- Next message (by thread): cdo logon() ... makepy has different signature
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Trasan Apansson wrote: > Hi! > > I'm trying to get a traceback with help of the function PyErr_Fetch. > It is, to be more specific, the third argument that I'm trying to get > hold of. I can't find any easy way to do that so could any one please > help me. > > Please look at the code-example, at the end of this text, from > 1997/08/15, in this group. It gives a good example on how to use > PyErr_Fetch despite of that it do not explain how get the traceback. Here is some code from the PyXPCOM project. http://lxr.mozilla.org/seamonkey/source/extensions/python/xpcom/src/ErrorUtils.cpp#132 Mark.
- Previous message (by thread): Exception handling and traceback from Python/C API
- Next message (by thread): cdo logon() ... makepy has different signature
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list