[Numpy-discussion] possible bug with numpy.object_

Matt Knox mattknox_ca at hotmail.com
Tue Aug 29 10:05:27 EDT 2006


# 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
 
Correction... I mean shouldn't it always be 0, not 1
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20060829/5daa67e9/attachment-0001.html>


More information about the NumPy-Discussion mailing list