[Pyrex] nested exception bug

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jun 19 02:22:20 UTC 2007


Eric Huss wrote:
> There's a subtle bug when calling functions from within an exception
> handler.
> 
> Python went through the same issues (fixed in 1.5), and their solution was
> to make a backup of the current exception into the frame object and
> restore it when the frame exited.

Yes, but I consider it too expensive to do this on every
function call in Pyrex.

Unless I can find a way of doing this only when it's really
needed, I'll just have to document it as one of the differences
between Python and Pyrex.

--
Greg



More information about the Pyrex mailing list