[Numpy-discussion] Adding generic dtypes

Charles R Harris charlesr.harris at gmail.com
Thu Jul 25 13:35:13 EDT 2019


Hi All,

The possibility of disabling default creation of object arrays has come up
again. I'm wondering if one way to get there is to allow generic dtypes.
The `numpy/core/numerictypes.py` module defines a hierarchy, and if we
could allow things like `dtype=integer` or `dtype=no_object` and such we
would gain more control over the resulting array types. At some point we
could make `no_object` the default if we so desired.

Thoughts?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190725/4b9f498e/attachment.html>


More information about the NumPy-Discussion mailing list