[Python-Dev] Re: [Python-checkins] python/dist/src/Modules _localemodule.c,2.35,2.36 (original) (raw)
Martin v. Loewis martin@v.loewis.de
27 Nov 2002 09:33:35 +0100
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules _localemodule.c,2.35,2.36
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules _localemodule.c,2.35,2.36
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brett Cannon <bac@OCF.Berkeley.EDU> writes:
It actually did since I wrote the module (coded the thing under OS X)i; still does with my slightly old CVS checkout::
>>> locale.getdefaultlocale() ['enUS', 'ISO8859-1'] Beats me why it works (I get the testlocale failure just like everyone else).
You do need to set LANG to make this test pass, right?
This bug was actually first reported back in the thread about FreeBSD 4.4 and most recently when Debian unstable's Python broke. Patch #639112 fixes this along with the other problem that FreeBSD 4.4 brought up (same timezone names; e.g. ('EST', 'EST')). So there is a fix and it is ready to be checked in.
Since it fixes it for OS X as well, I've applied this patch. Thanks!
Martin
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules _localemodule.c,2.35,2.36
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules _localemodule.c,2.35,2.36
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]