> After writing this, I realized that I actually remember the *opposite*
> discussion occurring before.  I think in some of the equality
> deprecations, we actually raise the new error due to an internal
> try/except clause.  And there was a complaint that its confusing that a
> non-deprecation-warning is raised when the error will only happen with
> DeprecationWarnings being set to error.
>
> - Sebastian

I noticed that warnings.catch_warnings does the right thing with
warnings that are raised alongside an exception (although it is a bit
clunky to use).

Aaron Meurer
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to