Florent Xicluna <florent.xicl...@gmail.com> added the comment:

I hesitate to do it differently:

with check_warnings(('', RuntimeWarning)):
 ==> translate to check_warnings(('', RuntimeWarning), quiet=False)

with check_warnings():
 ==> translate to check_warnings(quiet=True)

If the developer passes some arguments to the function, it means that he 
expects some warnings, and he should not need to add "quiet=False" each time.
And it preserves backward compatibility for existing code.

I guess that we push same behavior for 3.x.

----------

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

Reply via email to