[Numpy-discussion] typeDict vs sctypeDict

Travis Oliphant oliphant at ee.byu.edu
Tue Sep 26 14:46:31 CDT 2006

Francesc Altet wrote:

>I've just noted this:
>In [12]: numpy.typeNA is numpy.sctypeNA
>Out[12]: True
>In [13]: numpy.typeDict is numpy.sctypeDict
>Out[13]: True
>Why these aliases? Ara sc* replacing its not-sc-prefix counterparts?
>I'd like to know this so that I can avoid names that could be deprecated in a 
Yes, The problem is that the type-dictionary is really just a scalar 
type dictionary.  It was created back when scalar-types were synonomous 
with data-types.  When the data-types became a separate object, then the 
naming was wrong.  


More information about the Numpy-discussion mailing list