is the following behaviour expected? or is this a bug with numpy.object_  ?  I'm using numpy 1.0b1
 
>>> print numpy.array([],numpy.float64).size
0

>>> print numpy.array([],numpy.object_).size
1

Should the size of an array initialized from an empty list not always be 1 ? or am I just crazy?
 
Thanks,
 
- Matt Knox


Be one of the first to try Windows Live Mail.