[Numpy-discussion] [ANN] numpy 1.4.0 rc2
Charles R Harris
Tue Dec 22 16:28:37 CST 2009
On Tue, Dec 22, 2009 at 2:42 PM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> ti, 2009-12-22 kello 14:32 -0700, Charles R Harris kirjoitti:
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion