[Numpy-tickets] [NumPy] #562: Reference leaks

NumPy numpy-tickets@scipy....
Wed Mar 19 13:18:31 CDT 2008


#562: Reference leaks
-----------------------------+----------------------------------------------
 Reporter:  albertstrasheim  |        Owner:  somebody
     Type:  defect           |       Status:  new     
 Priority:  normal           |    Milestone:  1.0.5   
Component:  numpy.core       |      Version:  devel   
 Severity:  normal           |   Resolution:          
 Keywords:                   |  
-----------------------------+----------------------------------------------
Comment (by matthieu.brucher):

 A code to test for the presence of the leak with valgrind (from Lisandro
 message) :

 {{{
 def npy_asarray():
     a = numpy.zeros(5, dtype=float)
     b = numpy.asarray(a, dtype=float)
     del a, b

 }}}

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/562#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