[SciPy-dev] Thoughts on string arrays

Travis Oliphant oliphant at ee.byu.edu
Wed Nov 2 17:26:28 CST 2005


After some more thought, I've decided that I like the numarray approach 
better to define a separate string array type (as a subclass of the 
ndarray). 

My main reason for thinking this is that then the string array can have 
the Python string methods which would be applied to every string in the 
array.

I lean toward having a character array class that supports both strings 
and unicode arrays.

This subclass could be written in Python to begin with and then moved to 
C as needed.

-Travis




More information about the Scipy-dev mailing list