[Python-Dev] [Python-checkins] r66321 - in python/trunk: Doc/library/warnings.rst Lib/asynchat.py Lib/bsddb/test/test_early_close.py Lib/mimetools.py Lib/test/test___all__.py Lib/test/test_exceptions.py Lib/test/test_hmac.py Lib/test/test_import.py Lib/test/test_macostools.py Lib/test/test_pep352.py Lib/test/test_py3kwarn.py Lib/test/test_random.py Lib/test/test_re.py Lib/test/test_struct.py Lib/test/test_structmembers.py Lib/test/test_sundry.py Lib/test/test_support.py Lib/test/test_symtable.py Lib/test/test_urllib.py Lib/test/test_urllibnet.py Lib/test/test_userstring.py Lib/test/test_warnings.py Lib/warnings.py Misc/NEWS (original) (raw)

M.-A. Lemburg mal at egenix.com
Tue Sep 9 10:39:15 CEST 2008


On 2008-09-09 02:49, brett.cannon wrote:

Author: brett.cannon Date: Tue Sep 9 02:49:16 2008 New Revision: 66321

Log: warnings.catchwarnings() 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.

This sounds a lot like a feature.

Why was it added just before RC1 ?

Modified: python/trunk/Doc/library/warnings.rst python/trunk/Lib/asynchat.py python/trunk/Lib/bsddb/test/testearlyclose.py python/trunk/Lib/mimetools.py python/trunk/Lib/test/test_all.py_ python/trunk/Lib/test/testexceptions.py python/trunk/Lib/test/testhmac.py python/trunk/Lib/test/testimport.py python/trunk/Lib/test/testmacostools.py python/trunk/Lib/test/testpep352.py python/trunk/Lib/test/testpy3kwarn.py python/trunk/Lib/test/testrandom.py python/trunk/Lib/test/testre.py python/trunk/Lib/test/teststruct.py python/trunk/Lib/test/teststructmembers.py python/trunk/Lib/test/testsundry.py python/trunk/Lib/test/testsupport.py python/trunk/Lib/test/testsymtable.py python/trunk/Lib/test/testurllib.py python/trunk/Lib/test/testurllibnet.py python/trunk/Lib/test/testuserstring.py python/trunk/Lib/test/testwarnings.py python/trunk/Lib/warnings.py python/trunk/Misc/NEWS

-- Marc-Andre Lemburg eGenix.com

Professional Python Services directly from the Source (#1, Sep 09 2008)

Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/


:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::

eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611



More information about the Python-Dev mailing list