[Numpy-tickets] [NumPy] #454: Importing numpy prevents decrementing references for local variables

NumPy numpy-tickets@scipy....
Sat Mar 31 17:56:33 CDT 2007


#454: Importing numpy prevents decrementing references for local variables
------------------------+---------------------------------------------------
 Reporter:  goddard     |        Owner:  somebody
     Type:  defect      |       Status:  closed  
 Priority:  normal      |    Milestone:          
Component:  numpy.core  |      Version:  1.0.1   
 Severity:  major       |   Resolution:  fixed   
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by oliphant):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 I'm not opposed to that.  It's a bit tricky, though because inside inside
 a function the PackageLoader init is another level down.

 I've added an infunc argument to the PackageLoader init and created a
 pkgload function instead of initializing a PackageLoader instance in
 NumPy.

 This fixes the reference-count problem.  Changes in r3626

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


More information about the Numpy-tickets mailing list