[Numpy-tickets] [NumPy] #368: Patch to remove 2 instances of 'as' as a variable name

NumPy numpy-tickets at scipy.net
Sun Oct 29 13:51:43 CST 2006


#368: Patch to remove 2 instances of 'as' as a variable name
------------------------+---------------------------------------------------
 Reporter:  melson      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  numpy.core  |     Version:  devel   
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 numpy/lib/shape_base.py and numpy/f2py/crackfortran.py both contain
 variables named 'as', a reserved keyword. The first is preventing
 matplotlib from installing, the second isn't causing an error for me but
 some code might break.

 Attached patch renames both to 'as_'.

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


More information about the Numpy-tickets mailing list