[Numpy-discussion] array()? (Bug?)

Magnus Lie Hetland magnus at hetland.org
Mon Feb 10 13:46:03 CST 2003

Is this a bug, or is there a motivation behind it?

>>> from numarray import array
>>> array()

IOW: Why is array callable without any arguments when it doesn't
return anything? E.g. if I call array(**kwds) with some dictionary,
I'd expect an exception (since a default array isn't really possible)
if kwds were empty... Or?

(I'm using 0.4 -- for some reason I can't get the cvs version to
compile on Solaris.)

Magnus Lie Hetland               "Nothing shocks me. I'm a scientist." 
http://hetland.org                                   -- Indiana Jones

More information about the Numpy-discussion mailing list