[Numpy-discussion] Ticket review #849: reference to deallocated object?
Charles R Harris
Wed Jul 16 15:07:17 CDT 2008
On Tue, Jul 15, 2008 at 1:53 AM, Michael Abbott <firstname.lastname@example.org>
> Tenuous but easy fix, and conformant to style elsewhere.
This one depends on whether there is some sort of threading going on that
can interrupt in the middle of the call. Probably not, but the fix doesn't
look disruptive and I'll put it in just to be safe. I actually think things
should be set up so that the descr reference counts never go to zero, i.e.,
all the types should be singleton's set up during initialization and
maintained throughout the existence of numpy. But it's not that way now with
the way the chararray type is implemented. I wonder if we need a NULL check
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion