On Thu, Sep 8, 2022 at 3:41 AM Stefano Miccoli <[email protected]>
wrote:

> On 8 Sep 2022, at 11:39, [email protected] wrote:
>
> TL;DR:  NumPy scalars representation is e.g. `34.3` instead of
> `float32(34.3)`.  So the representation is missing the type
> information.  What are your thoughts on changing that?
>
>
> This would be a VERY welcome change!
>

+1 this would be very welcome!

The current behavior is a major source of confusion. Users end up using
NumPy scalars accidentally all over the place without even realizing it,
leading to all sorts of surprising and challenging to debug bugs.
_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: [email protected]

Reply via email to