homepage

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, methane, python-dev, r.david.murray, serhiy.storchaka, vstinner
Date 2015年10月09日.21:15:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444425308.71.0.901186620624.issue24870@psf.upfronthosting.co.za>
In-reply-to
Content
Short summary.
Ok, I optimized ASCII, Latin1 and UTF-8 codecs (encoders and decoders) for the most common error handlers.
* ASCII and Latin1 encoders: surrogateescape, replace, ignore, backslashreplace, xmlcharrefreplace
* ASCII decoder: surrogateescape, replace, ignore
* (Latin1 decoder cannot fail)
* UTF-8 encoder: surrogateescape, surrogatepass, replace, ignore, backslashreplace, xmlcharrefreplace
* UTF-8 decoder: surrogateescape, replace, ignore
The code to handle other error handlers in encoders has also be optimized.
Surrogateescape has now an efficent implementation for ASCII, Latin1 and UTF-8 encoders and decoders.
History
Date User Action Args
2015年10月09日 21:15:08vstinnersetrecipients: + vstinner, ezio.melotti, r.david.murray, methane, python-dev, serhiy.storchaka
2015年10月09日 21:15:08vstinnersetmessageid: <1444425308.71.0.901186620624.issue24870@psf.upfronthosting.co.za>
2015年10月09日 21:15:08vstinnerlinkissue24870 messages
2015年10月09日 21:15:08vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /