]> granicus.if.org Git - python/commit
Merged revisions 66321 via svnmerge from
authorBrett Cannon <bcannon@gmail.com>
Tue, 9 Sep 2008 01:52:27 +0000 (01:52 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 9 Sep 2008 01:52:27 +0000 (01:52 +0000)
commit1cd0247a4d1b8282631707ba06b514aeddc75782
tree631d7f5670241d765d0aff8f9f4ef6045286badb
parent4c19e6e02d4d7bb6d92395276dbf801e12876e24
Merged revisions 66321 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66321 | brett.cannon | 2008-09-08 17:49:16 -0700 (Mon, 08 Sep 2008) | 7 lines

  warnings.catch_warnings() now returns a list or None instead of the custom
  WarningsRecorder object. This makes the API simpler to use as no special object
  must be learned.

  Closes issue 3781.
  Review by Benjamin Peterson.
........
Doc/library/warnings.rst
Lib/test/test___all__.py
Lib/test/test_hmac.py
Lib/test/test_import.py
Lib/test/test_re.py
Lib/test/test_struct.py
Lib/test/test_structmembers.py
Lib/test/test_sundry.py
Lib/test/test_warnings.py
Lib/warnings.py