From: Travis O. <oli...@ee...> - 2006-09-26 19:46:43
|
Francesc Altet wrote: >Hi, > >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 >future. > > 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. -Travis |