[Python-3000] Implementing % formatting in terms of str.format()

Nick Coghlan ncoghlan at gmail.com
Sun Apr 13 08:05:16 CEST 2008


Benjamin Peterson wrote:
>>  Please don't -- a Py3k warning makes no sense if the feature isn't really
>>  going away in Py3k. Py3k warnings really should only warn about things
>>  that are going to break in 3.0.
>>
>>  If the decision is reached that such a warning makes sense, I'd propose
>>  to only warn in an "extended Py3k warning mode" activated with -33.
> A Py3k warning is already a extended DeprecationWarning! Why don't we
> just give it a DeprecationWarning in 3.0?

PendingDeprecatingWarning: maybe.
DeprecationWarning: no.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list