[Numpy-discussion] Remove sctypeNA and typeNA from numpy core

Sebastian Berg sebastian at sipsolutions.net
Thu Jun 21 14:07:04 EDT 2018

On Thu, 2018-06-21 at 09:25 -0700, Matti Picus wrote:
> numpy.core has many ways to catalogue dtype names: sctypeDict,
> typeDict 
> (which is precisely sctypeDict), typecodes, and typename. We also 
> generate sctypeNA and typeNA but, as issue 11241 shows, it is
> sometimes 
> wrong. They are also not documented and never used inside numpy.
> Instead 
> of fixing it, I propose to remove sctypeNA and typeNA.

Sounds like a good idea, we have too much stuff in there, and this one
is not even useful (I bet the NA is for the missing value support that
never happened).

Might be good to do a quick deprecation anyway though, mostly out of

- Sebastian

> Any thoughts or objections?
> Matti
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180621/52799903/attachment-0001.sig>

More information about the NumPy-Discussion mailing list