Chris Angelico wrote: > On Mon, Dec 21, 2015 at 9:46 AM, Thomas 'PointedEars' Lahn > <pointede...@web.de> wrote: >>> Percent formatting isn't going away. There's no need to tell people to >>> abandon it in favour of .format(), unless they actually need a feature >>> of .format(). >> >> ,-<https://docs.python.org/2/library/stdtypes.html#str.format> >> | >> | […] >> | This method of string formatting is the new standard in Python 3, and >> | should be preferred to the % formatting described in <String Formatting >> | Operations> in new code. > > That text doesn't exist in the 3.x documentation: > > https://docs.python.org/3/library/stdtypes.html#str.format
Of course it does not. That would be stupid. > There's a somewhat weaker recommendation here: > > https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting AISB. > But it's been clearly stated that .format is not going to do away with > percent formatting, and all language of "new-style formatting" has been > removed so as not to cause confusion. Wishful thinking, twice. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail. -- https://mail.python.org/mailman/listinfo/python-list