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.

作者 vstinner
收信人 cstratak, lemburg, serhiy.storchaka, skrah, vstinner
日期 2018-01-15.14:46:06
SpamBayes Score -1.0
Marked as misclassified
Message-id <1516027566.46.0.467229070634.issue31900@psf.upfronthosting.co.za>
In-reply-to
内容
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'.
历史
日期 用户 动作 参数
2018-01-15 14:46:06vstinner修改recipients: + vstinner, lemburg, skrah, serhiy.storchaka, cstratak
2018-01-15 14:46:06vstinner修改messageid: <1516027566.46.0.467229070634.issue31900@psf.upfronthosting.co.za>
2018-01-15 14:46:06vstinner链接issue31900 messages
2018-01-15 14:46:06vstinner创建