[Numpy-discussion] NEP 21: Simplified and explicit advanced indexing

Stephan Hoyer shoyer at gmail.com
Tue Jun 26 21:45:49 EDT 2018

On Tue, Jun 26, 2018 at 6:39 PM Robert Kern <robert.kern at gmail.com> wrote:

> I'd still prefer not talking deprecation, per se, in this NEP (but my
> objection is weaker). I would definitely start adding in informative, noisy
> warnings in these cases, though. Along the lines of, "Hey, this is a dodgy
> construction that typically gives unexpected results. Here are
> .oindex/.vindex that might do what you actually want, but you can use
> .legacy_index if you just want to silence this warning". Rather than "Hey,
> this is going to go away at some point."

Yes, agreed. These will use a new warning class, perhaps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180626/d3dd3582/attachment.html>

More information about the NumPy-Discussion mailing list