[New-bugs-announce] [issue12726] explain why locale.getlocale() does not read system's locales

Alexis Metaireau 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).

----------
assignee: alexis
components: Documentation
messages: 141897
nosy: alexis, feth
priority: normal
severity: normal
status: open
title: explain why locale.getlocale() does not read system's locales

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12726>
_______________________________________


More information about the New-bugs-announce mailing list