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.

作者 ncoghlan
收信人 barry, ezio.melotti, flox, ncoghlan
日期 2013-05-10.02:42:35
SpamBayes Score -1.0
Marked as misclassified
Message-id <1368153755.14.0.145166690264.issue17828@psf.upfronthosting.co.za>
In-reply-to
内容
Ezio pointed out on IRC that the extra type checks in str.encode, bytes.decode and bytearray.decode should reference the appopriate codecs module function in addition to the codec in use.

So if str.encode produces something other than bytes, it should reference codecs.encode, while the binary decoding methods should mention codecs.decode if they produce something other than str.
历史
日期 用户 动作 参数
2013-05-10 02:42:35ncoghlan修改recipients: + ncoghlan, barry, ezio.melotti, flox
2013-05-10 02:42:35ncoghlan修改messageid: <1368153755.14.0.145166690264.issue17828@psf.upfronthosting.co.za>
2013-05-10 02:42:35ncoghlan链接issue17828 messages
2013-05-10 02:42:35ncoghlan创建