New submission from Jean-Paul Calderone invalid@example.invalid:
Consider this transcript from OS X 10.6:
import locale
locale.getlocale()
(None, None)
locale.setlocale(locale.LC_ALL, _)
'C'
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
'en_US.UTF-8'
locale.getlocale()
('en_US', 'UTF8')
STINNER Victor victor.stin...@haypocalc.com added the comment:
Good news: it's a duplicate and it's already fixed! See issues #10090 and
#10154. The fix is part of Python 3.1.4 (released the 12th june 2011) and
Python 2.7.2 (released the 12 june 2011), and will be part of Python 3.2.1.
STINNER Victor victor.stin...@haypocalc.com added the comment:
(Python 2.6 only accepts security fixes, no more bug fixes. It's time to
upgrade to 2.7!)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12443