[Python-Dev] Status regarding Old vs. Advanced String Formating

Tshepang Lekhonkhobe tshepang at gmail.com
Fri Feb 24 17:24:50 CET 2012


Hi,

I was of the thought that Old String Formatting |"%s" % foo| was to be
phased out by Advanced String Formatting |"{}.format(foo)|. I however
keep seeing new code committed into the main VCS using the old style.
Is this okay? Is there a policy? I ask also because I expect CPython
to lead by example.

On another note, will the old format ever be deprecated? Is there a date?


More information about the Python-Dev mailing list