Ian D. Bollinger wrote: > On 4/5/06, *John J Lee* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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.
repr() (machine readable) and str() (human readable) do different things, so why would combining them even be considered? Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org _______________________________________________ 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