On Mon, 13 Jan 2014 09:34:39 -0800 Guido van Rossum <gu...@python.org> wrote: > On Mon, Jan 13, 2014 at 8:51 AM, Nick Coghlan <ncogh...@gmail.com> wrote: > > On 13 January 2014 23:57, Augie Fackler <r...@durin42.com> wrote: > >> 1) What do we need in terms of functionality > >> > >> Best guess, %s, %d, and %f. I've not done a full audit of the code, but > >> some > >> limited looking over the grep hits for % in .py files suggests I'm right, > >> and we could even do without %f (we only use that for 'hg --time' output, > >> which we could do in unicode). > > > > I think PEP 460 will have you covered there, or hopefully asciistr on 3.3+ > > I'm confused on how PEP 460 would help -- Augie mentioned %d, which it > excludes.
Serhiy did a survey of formatting codes in the Mercurial sources: https://mail.python.org/pipermail/python-dev/2014-January/130969.html Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com