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 vstinner
Recipients lemburg, pitrou, vstinner
Date 2010-06-07.22:00:10
SpamBayes Score 0.20717035
Marked as misclassified No
Message-id <1275948012.87.0.376828447686.issue8922@psf.upfronthosting.co.za>
In-reply-to
Content
> the shortcuts were meant for Python internal use only

str.encode() calls PyUnicode_AsEncodedString() and bytes.decode() calls PyUnicode_Decode(), so it is not for internal use only. Eg. "text".encode("ASCII") doesn't use the fastpath.
History
Date User Action Args
2010-06-07 22:00:12vstinnersetrecipients: + vstinner, lemburg, pitrou
2010-06-07 22:00:12vstinnersetmessageid: <1275948012.87.0.376828447686.issue8922@psf.upfronthosting.co.za>
2010-06-07 22:00:10vstinnerlinkissue8922 messages
2010-06-07 22:00:10vstinnercreate