[Numpy-discussion] typeDict vs sctypeDict
oliphant at ee.byu.edu
Tue Sep 26 14:46:31 CDT 2006
Francesc Altet wrote:
>I've just noted this:
>In : numpy.typeNA is numpy.sctypeNA
>In : numpy.typeDict is numpy.sctypeDict
>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