exception during module initialization + python3

Neal Becker ndbecker2 at gmail.com
Wed Oct 20 15:38:41 CEST 2010


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)




More information about the Python-list mailing list