This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_locale and en_US
Type: Stage: resolved
Components: Tests Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder: test_locale fix on modern linux
View: 1197218
Assigned To: Nosy List: ajaksu2, aleax, anthonybaxter, loewis
Priority: normal Keywords:

Created on 2003-10-01 07:28 by anthonybaxter, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Messages (5)
msg60405 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2003-10-01 07:28
Is it worth making test_locale try first "en_US", then
"C", 
as locale names? None of the systems I've tried have
"en_US"
as a valid locale.
msg60406 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-10-03 13:30
Logged In: YES 
user_id=21627

That would be incorrect. The test whether there is grouping
in numeric formatting. However, in the C locale, there is no
grouping.

Most systems should have an English locale - it might have a
different name, though.
msg60407 - (view) Author: Alex Martelli (aleax) * (Python committer) Date: 2003-11-02 19:56
Logged In: YES 
user_id=60314

hmmm -- my Linux Mandrake 9.1 does succeed happily with en_US (and on Windows we already use 'en' instead). What systems have you tried, Anthony?
msg60408 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2005-05-07 13:00
Logged In: YES 
user_id=29957

I just submitted a patch http://www.python.org/sf/1197218
that makes test_locale try each of en_US.UTF-8,
en_US.US-ASCII and en_US in turn. 
msg81877 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2009-02-13 04:32
Fixed in #1197218.
History
Date User Action Args
2022-04-10 16:11:31adminsetgithub: 39344
2009-02-13 04:32:07ajaksu2setstatus: open -> closed
nosy: + ajaksu2
messages: + msg81877
resolution: out of date
components: + Tests, - None
superseder: test_locale fix on modern linux
stage: resolved
2003-10-01 07:28:29anthonybaxtercreate