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 Rosuav
Recipients Rosuav, ezio.melotti, serhiy.storchaka, vstinner
Date 2015-04-28.04:22:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430194927.95.0.357424840141.issue23614@psf.upfronthosting.co.za>
In-reply-to
Content
Got around to tracking down where this is actually being done. It's in Objects/stringlib/codecs.h and it looks to be a hot area for optimization. I don't want to fiddle with it without knowing a lot about the performance implications (UTF-8 encode/decode being a pretty common operation), and since my knowledge of CPU operation costs is about fifteen or twenty years out of date, it's probably best I not do this. It would be nice if the message could be improved per Ezio's suggestion, but that would mean returning more information to the caller.
History
Date User Action Args
2015-04-28 04:22:08Rosuavsetrecipients: + Rosuav, vstinner, ezio.melotti, serhiy.storchaka
2015-04-28 04:22:07Rosuavsetmessageid: <1430194927.95.0.357424840141.issue23614@psf.upfronthosting.co.za>
2015-04-28 04:22:07Rosuavlinkissue23614 messages
2015-04-28 04:22:06Rosuavcreate