➜

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.13:20:26
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1516022426.25.0.467229070634.issue31900@psf.upfronthosting.co.za>
In-reply-to
内容
> I would not consider this a bug in Python, but rather in the locale settings passed to setlocale().

Past 10 years, I repeated to every single user I met that "Python 3 is right, your system setup is wrong". But that's a waste of time. People continue to associate Python3 and Unicode to annoying bugs, because they don't understand how locales work.

Instead of having to repeat to each user that "hum, maybe your config is wrong", I prefer to support this non convential setup and work as expected ("it just works"). With my latest implementation, setlocale() is only done when LC_CTYPE and LC_NUMERIC are different, which is the corner case which "shouldn't occur in practice".
历史
日期 用户 动作 参数
2018-01-15 13:20:26vstinner修改recipients: + vstinner, lemburg, skrah, serhiy.storchaka, cstratak
2018-01-15 13:20:26vstinner修改messageid: <1516022426.25.0.467229070634.issue31900@psf.upfronthosting.co.za>
2018-01-15 13:20:26vstinner链接issue31900 messages
2018-01-15 13:20:26vstinner创建