Hi all,

A brief note that the PR: https://github.com/numpy/numpy/pull/20000
deprecated the use of boolean arrays as indices in argpartition
(aligning its behaviour with normal indexing).

Further: https://github.com/numpy/numpy/pull/19731 silently turns
negative time factor indices into errors.
Previously, it was apparently possible to create times with e.g. `-
1000s` as time unit: `np.dtype("M8[-1000s]")`.

We assumed that those negative time units should never be allowed and
nobody would use them on purpose.  If anyone has concerns about either
(or knows/thinks this may create a problem somewhere) please let us
know so we can revert/reconsider the change!

Cheers,

Sebastian

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to