[issue10090] python -m locale fails on OSX

2011-05-17 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

I've applied a fix for #10154 and that also fixes this problem.

--
nosy: +ronaldoussoren
resolution:  -> fixed
stage: test needed -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10090] python -m locale fails on OSX

2010-10-22 Thread Éric Araujo

Changes by Éric Araujo :


--
dependencies: +locale.normalize strips "-" from UTF-8,  which fails on Mac

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10090] python -m locale fails on OSX

2010-10-19 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo, loewis
versions:  -Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10090] python -m locale fails on OSX

2010-10-16 Thread R. David Murray

Changes by R. David Murray :


--
nosy: +lemburg

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10090] python -m locale fails on OSX

2010-10-13 Thread Alexander Belopolsky

New submission from Alexander Belopolsky :

$ python -m locale
Locale aliasing:

Locale defaults as determined by getdefaultlocale():

Language:  en_US
Encoding:  UTF8
..

Locale settings after calling resetlocale():

Traceback (most recent call last):
 ..

  File "Lib/locale.py", line 548, in resetlocale
_setlocale(category, _build_localename(getdefaultlocale()))
locale.Error: unsupported locale setting


Apparently the problem is due to locale.getdefaultlocale() returning encoding 
as 'UTF8' while locale.setlocale() expects 'UTF-8'.

--
components: Library (Lib)
messages: 118567
nosy: belopolsky
priority: normal
severity: normal
stage: unit test needed
status: open
title: python -m locale fails on OSX
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com