[Numpy-tickets] [NumPy] #325: memory error using vectorize
NumPy
numpy-tickets at scipy.net
Fri Oct 6 20:37:33 CDT 2006
#325: memory error using vectorize
------------------------+---------------------------------------------------
Reporter: stefan | Owner: somebody
Type: defect | Status: closed
Priority: normal | Milestone: 1.0 Release
Component: numpy.core | Version: devel
Severity: normal | Resolution: fixed
Keywords: |
------------------------+---------------------------------------------------
Changes (by oliphant):
* status: new => closed
* resolution: => fixed
Comment:
Fixed in SVN r3273
The problem is that the frompyfunc ufunc was apparently leaving NULL spots
in the output object array. This was causing problems downstream as most
OBJECT functions were not expecting NULLs. This has been fixed because
the array creation function for OBJECT arrays leaves NULLs which are later
filled by specific functions. But, if the array creation function is
called and then for some reason the array is not filled, then we need to
be able to handle that situation in the OBJECT function calls. A NULL
pointer is usually treated as None (but sometimes 0 if a math operation is
called).
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/325#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list