[Python-checkins] r64952 - peps/trunk/pep-3101.txt

Fred Drake fdrake at gmail.com
Tue Jul 15 19:22:13 CEST 2008


On Tue, Jul 15, 2008 at 1:13 PM, Guido van Rossum <guido at python.org> wrote:
> confuse the heck out of anybody in Europe. So maybe having to go
> through the locale module is *good* here for a change. (At least
> moderately good. It shouldn't have to be global state, it should be a
> settable per thread or per web request context.)

Being able to use multiple locales at a time is also a use case,
especially for web applications, and I don't think the locale module
supports that.

There should be a way to take appropriate locale data from whatever
source and apply that to specific formatting operations.

I'm not sufficiently knowledgeble to propose a reasonable API for this.


 -Fred

-- 
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Python-checkins mailing list