Re: [C++-sig] bad exception conversion

2012-06-13 Thread Jim Bosch
On 06/13/2012 06:31 AM, Wichert Akkerman wrote: I have some glue code that calls a C++ function which can raise an unsuitable_error exception. I have an exception translator which will convert that to a more pythonic version (UnsuitableError), but when I use that I get an "SystemError: 'finally'

[C++-sig] bad exception conversion

2012-06-13 Thread Wichert Akkerman
I have some glue code that calls a C++ function which can raise an unsuitable_error exception. I have an exception translator which will convert that to a more pythonic version (UnsuitableError), but when I use that I get an "SystemError: 'finally' pops bad exception" error on the python side.