[Python-Dev] Fwd: [Python-checkins] r77402 - in python/trunk: Doc/library/warnings.rst Lib/test/test_ascii_formatd.py Lib/test/test_exceptions.py Lib/warnings.py Misc/NEWS Python/_warnings.c

Benjamin Peterson benjamin at python.org
Sun Jan 10 20:23:54 CET 2010


2010/1/10 Victor Stinner <victor.stinner at haypocalc.com>:
> Hi,
>
> Le dimanche 10 janvier 2010 19:51:26, Brett Cannon a écrit :
>> Nick Coghlan thought I should forward this to python-dev so people are
>>  aware of this change and why it occurred (plus it indirectly informs Guido
>>  I finally finished the work).
>
> Thanks to copy this mail to the python-dev mailing list.
>
> What is the recommanded way to get the previous behaviour (print deprecation
> warnings once)? Is there a command line option? Is it "-W default"?

That commit conveniently adds documentation answering that question. :)



-- 
Regards,
Benjamin



More information about the Python-Dev mailing list