[issue13074] Improve documentation of locale encoding functions

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue13074] Improve documentation of locale encoding functions

2014-06-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The two functions serve a different purpose. getdefautltlocale() specifically avoids calling setlocale() and is thread-safe on Unix. It's purpose is to return the default locale string, not only the encoding. getpreferredencoding() only returns the encodi

[issue13074] Improve documentation of locale encoding functions

2014-06-25 Thread Mark Lawrence
Mark Lawrence added the comment: Hopefully the patch speaks for itself. -- keywords: +patch nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file35782/Issue13074.diff ___ Pytho

[issue13074] Improve documentation of locale encoding functions

2011-10-09 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, haypo, lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13074] Improve documentation of locale encoding functions

2011-09-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker ___

[issue13074] Improve documentation of locale encoding functions

2011-09-30 Thread Geoffrey Bache
New submission from Geoffrey Bache : The locale module provides locale.getdefaultlocale and locale.getpreferredencoding. The encodings returned by each are generally subtly different ('ISO8859-1' vs 'ISO-8859-1'), but the difference between these methods is not explained. A comment by Martin