[issue12699] strange behaviour of locale.getlocale() -> None, None

2011-08-09 Thread STINNER Victor
STINNER Victor added the comment: It should be related to #6203. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12699] strange behaviour of locale.getlocale() -> None, None

2011-08-05 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> 3.x locale does not default to C, contrary to the documentation and to 2.x behavior ___ Python tracker

[issue12699] strange behaviour of locale.getlocale() -> None, None

2011-08-05 Thread Feth AREZKI
New submission from Feth AREZKI : 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', 'UT