[C++-sig] Creating a python class from c++
Stefan Seefeld
seefeld at sympatico.ca
Wed Nov 15 21:01:55 CET 2006
James Healey wrote:
> And it looks like this is the exception:
>
> exception: boost::python::error_already_set
http://boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html#python.using_the_interpreter
talks a bit about catching exceptions thrown by
the python runtime. Look for the section on 'Exception handling'.
(The python-exception handling, such as extracting the stack trace,
could probably be wrapped into a C++ API, but AFAIK it currently isn't.)
HTH,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the Cplusplus-sig
mailing list