Neal Becker wrote:

> Has behavior of c++ exception changed with boost::python + python3?
> 
> I used to simply use throw from c++.  Now I get:
> SystemError: initialization of ldpc_45 raised unreported exception
> 
> I believe this exception was really:
>   if (!fp)
>     throw std::runtime_error ((boost::format ("fopen %1% failed") %
> name).str());
> 
> which would have produced a good error message under python2.6.

I think this difference in behavior is for an exception thrown
during module initialization?

A c++ exception thrown after initialization seems to behave as before.

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to