[Python-3000] Format specifier proposal
Jim Jewett
jimjjewett at gmail.com
Thu Aug 16 01:27:57 CEST 2007
On 8/14/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> ... {foo!r} rather than {foo:!r}
> But either way, I suspect I'll find it difficult
> to avoid writing it as {foo:r} in the heat of the
> moment.
Me too.
And I don't like using up the "!" character. I know that it is still
available outside of strings, but ... it is one more character that
python used to leave for other tools. Giving a meaning to "@" mostly
went OK, but ...
More information about the Python-3000
mailing list