On 06/22/2013 09:20 PM, MRAB wrote:
On 23/06/2013 00:56, Dave Angel wrote:
<SNIP>
Certainly the reorderability of the format string is significant. Not
only can it be reordered, but more than one instance of some of the
values is permissible if needed. (What's missing is a decent handling
of such things as singular/plural, where you want a different version
per country of one (or a few) words from the format string, based on
whether a value is exactly 1.)
[snip]
One vs not-one isn't good enough. Some languages use the singular with
any numbers ending in '1'. Some languages have singular, dual, and
plural. Etc. It's surprising how inventive people can be! :-)
And there are plenty more where that came from. Thanks for the reminder.
I guess instead of a format, we need a DWIM.
--
DaveA
--
http://mail.python.org/mailman/listinfo/python-list