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 ezio.melotti, gvanrossum, kennyluck, lemburg, loewis, pitrou, serhiy.storchaka, tchrist, vstinner
Date 2013-10-08.11:04:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwaNzhpT0Q_6P32n9i5DWeaoBTMart33sZtDPL5pT+zLng@mail.gmail.com>
In-reply-to <5253E0C5.3010606@egenix.com>
Content
I don't think that performances on a microbenchmark is the good question.
The good question is: does Python conform to Unicode? The answer is simple
and explicit: no. Encoding lone surrogates may lead to bugs and even
security vulnerabilities.

Please open a new performance issue after fixing this one if you have
another patch improving performances.

I didn't read the patch yet, but strict, surrogatepass and surrogateescape
error handlers must be checked.
History
Date User Action Args
2013-10-08 11:04:10vstinnersetrecipients: + vstinner, lemburg, gvanrossum, loewis, pitrou, ezio.melotti, tchrist, kennyluck, serhiy.storchaka
2013-10-08 11:04:10vstinnerlinkissue12892 messages
2013-10-08 11:04:10vstinnercreate