[Numpy-tickets] [NumPy] #552: Bad import in oldnumeric/random_array.py

NumPy numpy-tickets@scipy....
Tue Jul 17 17:57:41 CDT 2007

#552: Bad import in oldnumeric/random_array.py
 Reporter:  ColdWind          |       Owner:  somebody
     Type:  defect            |      Status:  new     
 Priority:  normal            |   Milestone:          
Component:  numpy.oldnumeric  |     Version:  none    
 Severity:  critical          |    Keywords:          
 oldnumeric/random_array.py has the following import:

 import numpy as Numeric

 which seems that should be:

 import numpy.oldnumeric as Numeric

 If not, it complains about ArrayType. To reproduce execute:

 $ python -c "from numpy.oldnumeric.random_array import * ; randint(0, 50,

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

More information about the Numpy-tickets mailing list