diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-11 19:09:03 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-11 19:09:03 (GMT) |
commit | 785938eebdcf39d6ee54005e38afc474fdb5e1ea (patch) | |
tree | 14c1699fca3f508d3f27b9a5af9bbc196fa67f14 /Objects/longobject.c | |
parent | 84def3774d2079ea2a812e0220507ff0e27247e7 (diff) | |
download | cpython-785938eebdcf39d6ee54005e38afc474fdb5e1ea.zip cpython-785938eebdcf39d6ee54005e38afc474fdb5e1ea.tar.gz cpython-785938eebdcf39d6ee54005e38afc474fdb5e1ea.tar.bz2 |
Move the slowest UTF-8 decoder to its own subfunction
* Create decode_utf8_errors()
* Reuse unicode_fromascii()
* decode_utf8_errors() doesn't refit at the beginning
* Remove refit_partial_string(), use unicode_adjust_maxchar() instead
Diffstat (limited to 'Objects/longobject.c')
0 files changed, 0 insertions, 0 deletions