Archive for October, 2009
Boost.Python and Handling Python Exceptions
Posted by abingham in c++, programming, python on 2009/10/11
Handling Python exceptions from C++ code requires diligence
and consistent checking of error codes, and, really, who wants to deal
with that? A more natural system is
one in which Python exceptions are somehow converted to C++ exceptions
at the Python-C++ boundary, and where exception propagation continues
out of Python into C++.