[Scipy-tickets] [SciPy] #1501: import in member function causes object to persist

SciPy Trac scipy-tickets@scipy....
Tue Aug 23 14:14:54 CDT 2011


#1501: import in member function causes object to persist
----------------------------------------+-----------------------------------
 Reporter:  gertjan                     |       Owner:  somebody
     Type:  defect                      |      Status:  new     
 Priority:  normal                      |   Milestone:  0.10.0  
Component:  Other                       |     Version:  0.8.0   
 Keywords:  import, garbage collection  |  
----------------------------------------+-----------------------------------
Changes (by rgommers):

  * milestone:  Unscheduled => 0.10.0


Comment:

 Okay, it is the PackageLoader. If you need the fix now, please grab it
 from https://github.com/rgommers/scipy/tree/remove-pkgload

 If you want to understand exactly how this happened, you could check the
 PackageLoader code in numpy. It does a fair bit of manual frame juggling.
 The code is extremely ugly, so I don't feel like figuring it out in
 detail.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1501#comment:5>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list