[Scipy-tickets] [SciPy] #1133: ppimport fails

SciPy Trac scipy-tickets@scipy....
Fri Mar 19 07:25:49 CDT 2010


#1133: ppimport fails
------------------------+---------------------------------------------------
 Reporter:  pbrod       |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  0.8.0   
Component:  scipy.misc  |     Version:  0.7.0   
 Keywords:  ppimport    |  
------------------------+---------------------------------------------------
 ppimport fails with the following error:

 {{{
 File "C:\Python26\lib\site-packages\scipy\misc\ppimport.py", line 146, in
 ppimport
     elif '__path__' in _frame.f_locals:
 NameError: global name '_frame' is not defined
 }}}

 A suggested bugfix is to replace line 146 in ppimport with:


 {{{
     elif '__path__' in p_frame.f_locals:
 }}}

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


More information about the Scipy-tickets mailing list