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
_______________________________________________ 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