[C++-sig] Letting exception through

Nikolay Mladenov nickm at sitius.com
Thu Jul 7 19:08:06 CEST 2005


Hi,

I have a python interpreter running as a plugin to at third party
software,
and I use boost.python to expose some functionality of this software to
python.

I am having the following problem. At times they (the third party
software) 
throw std::exception which they apparently expect to catch, because when 
boost.python catches it on the boundary between python and  C++, the
software 
crashes. 

So my question is is there a way to have certain exceptions flow through
the 
boost.python boundary?

Thanks,

Nikolay




More information about the Cplusplus-sig mailing list