I don't know if this is related with ticket:331, but I think the next should be a bug:
In [71]:"" == numpy.string_("")
Out[71]:True
In [72]:numpy.array("")
Out[72]:
array('',
dtype='|S1')
# so far so good, but...
In [73]:numpy.array(numpy.string_(""))
---------------------------------------------------------------------------
exceptions.ValueError Traceback (most recent call last)
/home/faltet/<ipython console>
ValueError: Empty data-type
Original ticket http://projects.scipy.org/numpy/ticket/353 Reported 2006-10-18 by atmention:FrancescAlted, assigned to unknown.
Hi,
I don't know if this is related with ticket:331, but I think the next should be a bug: