[Python-Dev] Status regarding Old vs. Advanced String Formating (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Fri Feb 24 22:37:40 CET 2012
- Previous message: [Python-Dev] Status regarding Old vs. Advanced String Formating
- Next message: [Python-Dev] Status regarding Old vs. Advanced String Formating
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I was of the thought that Old String Formatting |"%s" % foo| was to be phased out by Advanced String Formatting |"{}.format(foo)|.
This is actually not the case, and never was. Some people would indeed like to see that happen, and others are strongly opposed.
As a consequence, both APIs for formatting will coexist for a long time to come (ten years at least); no deprecation is planned.
Regards, Martin
- Previous message: [Python-Dev] Status regarding Old vs. Advanced String Formating
- Next message: [Python-Dev] Status regarding Old vs. Advanced String Formating
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]