[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
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.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.
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/test_early_close.py
> python/trunk/Lib/mimetools.py
> python/trunk/Lib/test/test___all__.py
> python/trunk/Lib/test/test_exceptions.py
> python/trunk/Lib/test/test_hmac.py
> python/trunk/Lib/test/test_import.py
> python/trunk/Lib/test/test_macostools.py
> python/trunk/Lib/test/test_pep352.py
> python/trunk/Lib/test/test_py3kwarn.py
> python/trunk/Lib/test/test_random.py
> python/trunk/Lib/test/test_re.py
> python/trunk/Lib/test/test_struct.py
> python/trunk/Lib/test/test_structmembers.py
> python/trunk/Lib/test/test_sundry.py
> python/trunk/Lib/test/test_support.py
> python/trunk/Lib/test/test_symtable.py
> python/trunk/Lib/test/test_urllib.py
> python/trunk/Lib/test/test_urllibnet.py
> python/trunk/Lib/test/test_userstring.py
> python/trunk/Lib/test/test_warnings.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-checkins
mailing list