> If correctly understood your concern, it's about usage of stdlib's *Warning 
> classes directly
> that makes all warnings coming from different libraries indistinguishable.

That was my concern yes. 

> I think that's not the case, since warnings.filterwarnings allows
> to specify custom filter using a regular expression to match module names.

And what does that match against? The module name of the exception type right?

> Therefore it's not redundant to subclass *Warning for namespacing alone.

Not redundant? You mean you must subclass? In that case my concern stands. 

/ Anders
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to