Message199194
| 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. |
|