[Numpy-tickets] [NumPy] #252: numpy/oldnumeric/alter_code1.py doesn't work. [Fix included]

NumPy numpy-tickets at scipy.net
Thu Aug 17 16:31:17 CDT 2006


#252: numpy/oldnumeric/alter_code1.py doesn't work. [Fix included]
-----------------------+----------------------------------------------------
 Reporter:  zachrahan  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:          
Component:  Other      |     Version:          
 Severity:  normal     |    Keywords:          
-----------------------+----------------------------------------------------
 Line 67 of numpy/oldnumeric/alter_code1.py is in error:
         fstr = func2_re[name].sub('\\1B\\2',fstr)

 It should be:
         fstr = func_re[name].sub('\\1B\\2',fstr)
 because there is no func2_re symbol.

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


More information about the Numpy-tickets mailing list