[Numpy-tickets] [NumPy] #570: Vectorize leaks

NumPy numpy-tickets@scipy....
Mon Jan 14 15:36:55 CST 2008


#570: Vectorize leaks
-----------------------------+----------------------------------------------
 Reporter:  albertstrasheim  |        Owner:  somebody
     Type:  defect           |       Status:  new     
 Priority:  normal           |    Milestone:  1.0.5   
Component:  numpy.core       |      Version:  none    
 Severity:  normal           |   Resolution:          
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by jaberg):

 Travis advised me to add the following code snippet to this ticket because
 it is related.  It doesn't use vectorize, but it uses frompyfunc.

 {{{
 import numpy as N

 l = N.random.rand(10, 10)
 c = l * 1.0
 f = N.frompyfunc(lambda x: 2*x, 1, 1)
 while True:
     c[:] = f(l)
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/570#comment:5>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list