This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petri.lehtinen
Recipients docs@python, eric.araujo, ezio.melotti, lemburg, loewis, nailor, petri.lehtinen, python-dev, skrah, terry.reedy, vincent.chute, vstinner
Date 2011-11-05.07:24:02
SpamBayes Score 3.2945313e-12
Marked as misclassified No
Message-id <20111105072351.GA1970@ihaa>
In-reply-to <1320452361.93.0.974665406954.issue3067@psf.upfronthosting.co.za>
Content
> If *locale* is specified, it may be a None, a string, or an iterable of two strings, language code and encoding. String pairs are converted to a single string using the locale aliasing engine.

What about the possible None value then? Do you think that mentions to
it be dropped?

I don't think so, because setlocale(locale.LC_ALL, None) is an
explicit way of saying "Return me the current value", especially
because the function's name is SETlocale, which doesn't make it
explicit.

If None is not dropped, the ", language code and encoding" should
maybe be in parentheses insteead: "to strings (language code and
encoding), or None..."
History
Date User Action Args
2011-11-05 07:24:04petri.lehtinensetrecipients: + petri.lehtinen, lemburg, loewis, terry.reedy, vstinner, ezio.melotti, eric.araujo, vincent.chute, skrah, docs@python, nailor, python-dev
2011-11-05 07:24:03petri.lehtinenlinkissue3067 messages
2011-11-05 07:24:02petri.lehtinencreate