timedata-org / old-timedata

Time arts data - high-performance color processing in C++ and Python.
7 stars 3 forks source link

make sure that all C++ exceptions are rethrown as Python if not simply swallowed. #15

Closed rec closed 8 years ago

rec commented 8 years ago

Cython doesn't do a terrible job of handling C++ exceptions - it reports and ignores them.

However, I use exceptions pretty freely in the C++ code. I should make sure that if the Python code can make one of these happen, it is rethrown as a Python exception.

rec commented 8 years ago

Got rid of some cases of this. going to do the final edit here once I've removed the old classes (https://github.com/rec/timedata/issues/69).