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.12:57:20
SpamBayes Score -1.0
Marked as misclassified
Message-id <1516021040.7.0.467229070634.issue31900@psf.upfronthosting.co.za>
In-reply-to
内容
Marc-Andre Lemburg: "If you first set LC_ALL and then one of the other categories such as LC_NUMERIC, locale C functions will still use the LC_ALL setting for everything. LC_NUMERIC does not override the LC_ALL setting."

The root of this issue is https://bugzilla.redhat.com/show_bug.cgi?id=1484497#c0:

Petr Viktorin reproducer scripts uses Python locale.setlocale(), not environment variables:
https://gist.github.com/encukou/70b3d3f9ef3e29ac1dbc23a5f7bd6431
---
locale.setlocale(locale.LC_ALL, 'C.UTF-8')
locale.setlocale(locale.LC_NUMERIC, 'fr_FR.ISO8859-1')
---
历史
日期 用户 动作 参数
2018-01-15 12:57:20vstinner修改recipients: + vstinner, lemburg, skrah, serhiy.storchaka, cstratak
2018-01-15 12:57:20vstinner修改messageid: <1516021040.7.0.467229070634.issue31900@psf.upfronthosting.co.za>
2018-01-15 12:57:20vstinner链接issue31900 messages
2018-01-15 12:57:20vstinner创建