[Python-3000] String formating operations in python 3k

Ian D. Bollinger ian.bollinger at gmail.com
Thu Apr 6 06:02:39 CEST 2006


On 4/5/06, John J Lee <jjl at pobox.com> wrote:
>
> But how about putting them at the start, after the $?  That way, the
> format character can't get mixed up with the text following it.  For
> example, $r{foo} would mean the same as the current %(foo)r.
>

This is somewhat tangental, but hopefully an $r formatting operation won't
be necessary in Py3k, assuming repr() and str() can somehow be combined.

--
- Ian D. Bollinger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20060406/65324201/attachment.htm 


More information about the Python-3000 mailing list