[Pythonmac-SIG] Python IDE/Interpreter bug?

Louis M. Pecora pecora@anvil.nrl.navy.mil
Thu, 27 Apr 2000 16:47:28 -0400


(Interactive mode) Type the following

>>> from Numeric import *
>>> x=array(range(5),float)  # instead of x=array(range(5),Float)

Hit return and I get a crash (Type 2 error) everytime.  Macsbug shows the error occurred in Python IDE in the routine init_numpy.

Same thing happens with x=array(range(5),int).  The line x=array(range(5),Int)  works fine. Something is _not_ checking for the validity of the second argument to array.

Anyone else replicate this?



Cheers,

Lou Pecora