Ah, thanks, I knew there was another term that had a new-style counterpart: percent formatting vs brace formatting.
-- Sent from my phone, thus the relative brevity :) On Feb 27, 2012 7:53 AM, "Georg Brandl" <g.bra...@gmx.net> wrote: > On 02/26/2012 10:13 PM, Nick Coghlan wrote: > >> On Mon, Feb 27, 2012 at 5:23 AM, Eli Bendersky<eli...@gmail.com> wrote: >> >>> >>> It would be nice to call it something else than "printf-style >>>> formatting". While it is certainly modelled on printf(), knowledge of C >>>> or printf is not required to understand %-style formatting, nor even to >>>> appreciate it. >>>> >>> >>> >>> +1. The section is already titled "old string formatting operations" so >>> if >>> this name is acceptable it should be reused. If it's not, it should >>> then be >>> consistently changed everywhere. >>> >> >> I deliberately chose printf-style as being value neutral (whereas >> old-style vs new-style carries a heavier recommendation that you >> should be using the new one). Sure you don't need to know printf to >> understand it, but it needs *some* kind of name, and "printf-style" >> acknowledges its roots. Another value-neutral term is "mod-style", >> which describes how it is invoked (and I believe we do use that in a >> few places already). >> > > I've seen "percent-formatting", which is neutral, accurate and doesn't > require any previous knowledge. (The new one could be "format-formatting" > then, which is a tad awkward. :) > > Georg > > ______________________________**_________________ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/**mailman/listinfo/python-dev<http://mail.python.org/mailman/listinfo/python-dev> > Unsubscribe: http://mail.python.org/**mailman/options/python-dev/** > ncoghlan%40gmail.com<http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com> >
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com