![]() |
Home | Libraries | People | FAQ | More |
C++ module definition:
#include <boost/python/module.hpp> BOOST_PYTHON_MODULE(xxx) { throw "something bad happened" }
Interactive Python:
>>> import xxx Traceback (most recent call last): File "", line 1, in ? RuntimeError: Unidentifiable C++ Exception