[New-bugs-announce] [issue12726] explain why locale.getlocale() does not read system's locales
report at bugs.python.org
Thu Aug 11 11:18:55 CEST 2011
New submission from Alexis Metaireau <alexis at notmyidea.org>:
The documentation about locale.getlocale() doesn't talk about the fact that the locale isn't read from the system locale. Thus, it seemed strange to have locale.getlocale() returning (None, None).
As it seems to be the expected behaviour, it seems useful to specify this in the documentation and make it explicit.
I'm okay to write a patch and apply it.
This issue is related to #6203, but does not supersede it (the two conversations are discussing two different things).
nosy: alexis, feth
title: explain why locale.getlocale() does not read system's locales
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce