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.

Author ncoghlan
Recipients barry, ezio.melotti, flox, ncoghlan
Date 2013-05-10.02:42:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368153755.14.0.145166690264.issue17828@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-05-10 02:42:35ncoghlansetrecipients: + ncoghlan, barry, ezio.melotti, flox
2013-05-10 02:42:35ncoghlansetmessageid: <1368153755.14.0.145166690264.issue17828@psf.upfronthosting.co.za>
2013-05-10 02:42:35ncoghlanlinkissue17828 messages
2013-05-10 02:42:35ncoghlancreate