New submission from Feth AREZKI <[email protected]>:
Tested on linux arch & debian, freeBSD and MacOSX :
% python2.7
[...]
>>> import locale
>>> locale.getlocale()
(None, None)
>>> locale.getlocale(locale.LC_CTYPE) #or any type
(None, None)
% python3.2
[...]
>>> import locale
>>> locale.getlocale()
('fr_FR', 'UTF-8')
We feel this is strange!
----------
messages: 141683
nosy: alexis, feth
priority: normal
severity: normal
status: open
title: strange behaviour of locale.getlocale() -> None, None
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12699>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com