[SciPy-dev] chararray array method has vanished

Christopher Hanley chanley at stsci.edu
Fri Jan 6 15:18:07 EST 2006


Hi Travis,

The following no longer works in numpy:

In [117]: import numpy.core.chararray as nc

In [118]: a = nc.array('abcdefg'*10,itemsize=10)
---------------------------------------------------------------------------
exceptions.AttributeError                            Traceback (most 
recent call last)

/data/sparty1/dev/numpy/numpy/core/tests/<console>

AttributeError: type object 'chararray' has no attribute 'array'


Chris




More information about the SciPy-Dev mailing list