➜

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.

作者 methane
收信人 Paul Monson, eryksun, methane, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
日期 2019-05-10.01:12:16
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1557450736.43.0.591813146796.issue36778@roundup.psfhosted.org>
In-reply-to
内容
> I dislike lying in the locale module. This change is basically useless with my PR 13230.


Note that Python produce "cpNNN" encoding name, not Windows.
https://github.com/python/cpython/blob/137be34180a20dba53948d126b961069f299f153/Modules/_localemodule.c#L395

So I don't think it is lie.  It is just "what encoding name we should choose when GetACP() returned 65001.".
With your PR 13230, cp65001 is truly utf-8.  So returning "utf-8" seems right behavior.
历史
日期 用户 动作 参数
2019-05-10 01:12:16methane修改recipients: + methane, paul.moore, vstinner, tim.golden, zach.ware, serhiy.storchaka, eryksun, steve.dower, Paul Monson
2019-05-10 01:12:16methane修改messageid: <1557450736.43.0.591813146796.issue36778@roundup.psfhosted.org>
2019-05-10 01:12:16methane链接issue36778 messages
2019-05-10 01:12:16methane创建