Nicolas Hainaux added the comment:
I understand that the statement "when python starts, it runs using the C
locale..." should not be correct anymore (and the doc should then be updated),
but in fact this statement is still true on the systems I tested; only, the
output of locale
Nicolas Hainaux added the comment:
Sorry, I did not realize that using the word "unset" was completely misleading:
I only meant "before any use of locale.setlocale() in python". So I'll rephrase
this all, and add details about the python versions and platforms in thi
New submission from Nicolas Hainaux :
Expected behaviour:
When unset, the locale in use is `C` (as stated in python documentation) and
`locale.getlocale()` returns `(None, None)` on Linux with python2.7 or on
Windows with python2.7 and python 3.6 (at least):
$ python2
Python 2.7.15