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
收信人 doerwalter, ezio.melotti, lemburg, ncoghlan, python-dev, serhiy.storchaka, vstinner
日期 2013-11-23.01:03:19
SpamBayes Score -1.0
Marked as misclassified
Message-id <CAMpsgwbQRkkOQcpD8EbMLm2WvnCMJmkhdmiCCCc_NWCvYNS60w@mail.gmail.com>
In-reply-to <CADiSq7dX+BLrSGyQT_vnXcx-Gkf-n1zkdivAySC1hqXbtHeKbQ@mail.gmail.com>
内容
> Regarding UTF-8 et al, the existing shortcuts in unicodeobject.c already
> bypass the full codec machinery, and that includes the exception wrapping
> on failures.

There are still platforms using locale encodings different than ascii,
latin1 or utf8. For example, Windows never uses these encodings for
ANSI or OEM code page. ANSI code page is used as the Python filesystem
encoding which is used in a lot of places. OEM code page is used for
the stdio streams (stdin, stdout, stderr). There are some users using
locales with the latin9 encoding.

I proposed to remove the new code for exception handling to simplify
the code (because the error should not occur anymore).
历史
日期 用户 动作 参数
2013-11-23 01:03:19vstinner修改recipients: + vstinner, lemburg, doerwalter, ncoghlan, ezio.melotti, python-dev, serhiy.storchaka
2013-11-23 01:03:19vstinner链接issue19619 messages
2013-11-23 01:03:19vstinner创建