Talin wrote: > Eric Smith wrote: >> Talin wrote: >>> Guido expressed a definite preference for having them be first. >> >> I was afraid of that. Then can we say they'll always go first? Or is >> the intent really to say they can go anywhere (PEP says "typically >> placed")? > > I can revise it to say that they always come first if that's would make > it easier.
That would make it easier to code, and I suspect easier to read the Python code that uses them. I'll keep coding as if it says they're first; no sense updating the PEP until we batch up some changes. >> The sample implementation of vformat in the PEP says they'll go last: >> >> # Check for explicit type conversion >> field_spec, _, explicit = field_spec.partition("!") > > That's a bug. > > Too bad there's no unit tests for pseudo-code :) There's a task for someone! _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com