On Fri, Feb 17, 2012 at 9:47 PM, Sturla Molden <stu...@molden.no> wrote:

>
>
>
> >
> > Why would you even see an exception if it is caught before it escapes? I
> would expect the C API to behave just as it currently does. What am I
> missing?
>
> Structured exception handling in the OS.
>
> MSVC uses SEH for C++ exceptions.
>
> Memory allocation fails in gcc code. Instead of returning NULL, Windows
> jumps to the SEH handler set in the MSVC code... *poff*
>

But won't a C++ wrapper catch that?

Chuck
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to