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 serhiy.storchaka
Recipients ezio.melotti, lemburg, radiocane, serhiy.storchaka, vstinner
Date 2018-12-20.10:12:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545300744.71.0.788709270274.issue35544@psf.upfronthosting.co.za>
In-reply-to
Content
There is no code that prevents unicode.encode() from returning the result of arbitrary type. Seems all standard codecs return str, but you can not be sure about custom codecs.
History
Date User Action Args
2018-12-20 10:12:24serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, vstinner, ezio.melotti, radiocane
2018-12-20 10:12:24serhiy.storchakasetmessageid: <1545300744.71.0.788709270274.issue35544@psf.upfronthosting.co.za>
2018-12-20 10:12:24serhiy.storchakalinkissue35544 messages
2018-12-20 10:12:24serhiy.storchakacreate