[Numpy-discussion] [ANN] numpy 1.4.0 rc2

Charles R Harris charlesr.harris@gmail....
Tue Dec 22 16:28:37 CST 2009


On Tue, Dec 22, 2009 at 2:42 PM, Pauli Virtanen <pav@iki.fi> wrote:

> ti, 2009-12-22 kello 14:32 -0700, Charles R Harris kirjoitti:
> [clip]
> > Could you expand a bit on this? There are several places where
> > PyErr_Occurred are called and I am wondering if there is a problem. In
> > fact, I moved one such check and a segfault went away, which made me
> > suspicious...
>
> I think here the point is that since PyOS_acii_strtod used to fail
> silently, also its replacement should -- so we'd need to clear any
> raised error before continuing.
>
>
But what about the GIL? That's what I'm curious about. Do we need to hold
the GIL to check and clear and error? If so, there are other places where
this will matter. I was under the impression that each thread had it's own
error stack. But I don't know much about the GIL.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091222/5f89925a/attachment.html 


More information about the NumPy-Discussion mailing list