-On [20090312 06:50], Lie Ryan (lie.1...@gmail.com) wrote: >How about having a country code field, e.g. en-us would format according >to US locale, in to India, ch to China, etc... that way the format >string would become very simple (although the lib maintainer would need >to know customs from all over the world). Then have a special country >code that is a placeholder for whatever the locale the machine is set to.
Then you are effectively duplicating what is already available via CLDR [1] and Babel [2]. [1] http://www.unicode.org/cldr/ [2] http://babel.edgewall.org/ -- Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B Any road leads to the end of the world... _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com