> At the moment any time a deprecation warning is issued all warning filters 
> are thrown away:
> https://github.com/sagemath/sage/blob/master/src/sage/misc/superseded.py#L138
> which means that Python functionality for tuning warnings is completely 
> useless. Why??? If the point is to change the default behaviour of not 
> showing deprecation warnings, how about just adjusting that particular 
> filter and only once when Sage starts?

I asked a similar question recently:
https://groups.google.com/forum/#!topic/sage-devel/RxMNjVWBeI0

There seems to be some code outside sage/misc/superseded.py which
removes some warnings so they will be issued only once. I have no idea
how or where, or if it's just because I can't read the warning code in
superseded.py right...

I ended up monkey-patching the one type of warning I was interested in
at the time: http://trac.sagemath.org/ticket/20601

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 [email protected].
To post to this group, send email to [email protected].
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