On Tue, Jun 26, 2018 at 6:39 PM Robert Kern <robert.k...@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 numpy.IndexingWarning.
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion