Brett Cannon <[EMAIL PROTECTED]> added the comment:

The patch does a couple of things. It moves
test.test_support.catch_warning() to warnings.catch_warnings() and
leaves a stub behind. WarningsRecorder becomes a subclass of list to
make it easier to work with. The uses of catch_warnings() in the stdlib
are moved to the 'warnings' implementation along with protecting the
warnings filter changes behind a sys.py3kwarning 'if' statement. And
finally, a oversight in the triggering of a DeprecationWarning for
showwarning() and the new 'line' argument has been fixed (with the
appropriate test).

----------
assignee: brett.cannon -> 
keywords: +needs review, patch
Added file: http://bugs.python.org/file11226/move_catch_warnings.diff

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3602>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to