Neal Becker wrote:

> Has behavior of exception thrown during module initialization changed with
> python3?
> 
> using boost::python, throwing a c++ exception in module initialization, I
> get:
> 
> SystemError: initialization of ldpc_45 raised unreported exception
> 
> I exepected to see the string associated with exception, which gave useful
> information (file not found, in this case).
> 
> I believe under python2.6 this would have happened (but I could be
> mistaken)
I just tried it, and I'm not mistaken.  On python2.6 I get my nice error 
message, but on python3.1.2 I just get the above  
SystemError: initialization of ldpc_45 raised unreported exception


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to