[Numpy-discussion] numpy.core.numerictypes questions

Travis E. Oliphant oliphant@enthought....
Fri Aug 22 05:19:05 CDT 2008


William Reade wrote:
> Hi
>
> I hope this is the right place for this question... if not, I apologise, 
> and ask only that you please direct me somewhere more appropriate.
>
> Line 532 of numerictypes.py reads "_unicodesize = 
> array('u','U1').itemsize", but _unicodesize itself does not appear to be 
> referenced anywhere else. My questions are:
>
> * Does this line have any use?
>   

> * If not, would it be possible to remove it from a future release?
>   
I don't know the answer to these questions. 
> I ask because I'm working on a project to get CPython extensions 
> (specifically numpy) working with IronPython, and this line is blocking 
> me. If I comment it out, I can actually import numpy and use some 
> features, but I'm not sure how important unicode arrays are: if they're 
> not widely used, I'd be keen to ignore them for a while and work on, 
> say, floating-point arrays.
>   

I would say that unicode arrays are rare and I would definitely work on 
floating-point first.    Any chance we can see some of your work, by the 
way.

-Travis



More information about the Numpy-discussion mailing list