Get stack trace from C
Eric Frederich
eric.frederich at gmail.com
Mon Apr 16 14:14:11 EDT 2012
I embed Python in a 3rd party application.
I need to use their conventions for errors.
Looking here...
http://docs.python.org/extending/embedding.html#pure-embedding
...the example uses PyErr_Print() but that goes to stdout or stderr or
something.
I need to put the error somewhere else. How can I get at the traceback
text?
Thanks,
~Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120416/76ec3d6f/attachment.html>
More information about the Python-list
mailing list