On Wed, Jul 22, 2020 at 4:55 PM Aaron Meurer <asmeu...@gmail.com> wrote: > > Ah, so I guess I caught this issue right as it got fixed. There are no > warnings in 1.19.0, but I can confirm I get the warnings in numpy > master. 1.19.1 isn't on conda yet, but I tried building it and didn't > get the warning there. So I guess I need to wait for 0.19.2.
Or rather 1.20 I guess https://github.com/numpy/numpy/pull/15900. By the way, it would be useful if deprecation warnings like this had a functionality to enable the actual post-deprecation behavior. Right now the warning says to run warnings.simplefilter('error'), but this causes the above indexing to raise DeprecationWarning, not IndexError. Aaron Meurer _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion