Boost C++ Libraries: Ticket #3661: An exceptions puzzler: https://svn.boost.org/trac10/ticket/3661 <p> Scenario: From python I call wrapped c++ code. This c++ code calls a python function via a boost::python::object and attempts to extract a value from what is returned. This causes a throw, and the exception propagates back up to python. It is possible for 'stuff' to get called in a function like this: </p> <p> def foo(): </p> <blockquote> <p> try: </p> <blockquote> <p> return </p> </blockquote> <p> except: </p> <blockquote> <p> stuff() </p> </blockquote> </blockquote> <p> I don't have all the details handy about what is happening on the C++ side, this is a 'note to self' to investigate and document a best practice. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3661 Trac 1.4.3