Antoine Pitrou <pit...@free.fr> added the comment:

There is a slight issue with warnings, and that's the filtering by 
module/location. Since these warnings will occur in destructors, they can 
appear at any point without being related to the code being executed. The 
"default" filtering method (print the first occurrence of matching warnings for 
each location where the warning is issued) then is not appropriate; therefore I 
suggest a separate warning category (ResourceWarning?) for which people can 
enable different rules.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10093>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to