sage: import warnings
sage: warnings.filterwarnings('always',".*", DeprecationWarning)
sage: deprecation(3,"m")
Hi sage-devel,

On my Sage installation, as well as on David Lucas' (having different
Linux distros), the following *does not* print the expected deprecation
warning in the Sage shell or IPython:

In fact, I can't get any function to trigger the usual deprecation
warnings! Needless to say, this used to work rather recently, though I
didn't do a binary search in the commits yet. 

I can do the following to get deprecation warnings back:

<Deprecation Warning>

I'm suspecting #20667 which fiddled with the way warnings are handled,
in particular modifying warnings.filters in src/sage/all.py.

Can anyone else confirm?

Best,
Johan

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to