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 vstinner
Recipients cstratak, lemburg, serhiy.storchaka, skrah, vstinner
Date 2018-01-15.14:46:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516027566.46.0.467229070634.issue31900@psf.upfronthosting.co.za>
In-reply-to
Content
Test on Linux (Fedora 27, glibc 2.26):

locale.setlocale(locale.LC_ALL, "fr_FR")
locale.setlocale(locale.LC_NUMERIC, "es_MX.utf8")

It works as expected, result:

decimal_point: '.'
thousands_sep: '\u2009'

Python 3.6 returns mojibake:

decimal_point: '.'
thousands_sep: '\xe2\x80\x89'

Python 2.7 raw strings, thousands_sep = b'\xE2\x80\x89'.
History
Date User Action Args
2018-01-15 14:46:06vstinnersetrecipients: + vstinner, lemburg, skrah, serhiy.storchaka, cstratak
2018-01-15 14:46:06vstinnersetmessageid: <1516027566.46.0.467229070634.issue31900@psf.upfronthosting.co.za>
2018-01-15 14:46:06vstinnerlinkissue31900 messages
2018-01-15 14:46:06vstinnercreate