[Numpy-discussion] ENH: Changed repr of np.bool_ #17592 (requesting confirmation)

Ganesh Kathiresan ganesh3597 at gmail.com
Fri Oct 23 20:34:59 EDT 2020


Hi All,

I have raised a PR <https://github.com/numpy/numpy/pull/17592>to change the
np.bool_ string representation to avoid confusion with python's True and
False as mentioned in this issue
<https://github.com/numpy/numpy/issues/12950>.

This change makes string representation of np.bool_ into numpy.True_ and
numpy.False_

As Eric mentioned, I wanted your feedback on the change and if we can go
ahead with this idea.

Regards,
Ganesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/numpy-discussion/attachments/20201024/3b4ebfb8/attachment.html>


More information about the NumPy-Discussion mailing list