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 radiocane
Recipients ezio.melotti, radiocane, vstinner
Date 2018-12-20.09:18:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545297536.15.0.788709270274.issue35544@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 2.7.15rc1 the docstring for unicode.encode starts with: "S.encode([encoding[,errors]]) -> string or unicode"

But if this answer https://stackoverflow.com/a/449281/5397695 is correct, then unicode.encode will never return a unicode object. Am I right?
History
Date User Action Args
2018-12-20 09:18:56radiocanesetrecipients: + radiocane, vstinner, ezio.melotti
2018-12-20 09:18:56radiocanesetmessageid: <1545297536.15.0.788709270274.issue35544@psf.upfronthosting.co.za>
2018-12-20 09:18:56radiocanelinkissue35544 messages
2018-12-20 09:18:55radiocanecreate