Boost logo

Boost :

From: Chris Emerson (chris_at_[hidden])
Date: 2001-07-13 06:59:15


I've wrapped a C++ library which throws exceptions which I'd like to be
visible from Python more sensibly. The exceptions don't derive from
std::exception.

It looks like all exception handling is done in
boost::python::handle_exception(). Perhaps module_builder could have an
optional function pointer argument to add (or replace) handle_exception()?

Or is there a better way of accomplishing this?

Thanks,

Chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk