There are several things I'd like to do with the exceptions.
Printing the 3rd party applications log via their own printf-like function.
Also, calling one of their functions that stores an error string on a stack.
In either case, I need access to the error string as a char*.
On Tue, Apr 17, 2012 a
Eric Frederich, 16.04.2012 20:14:
> 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
> somethin
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