commit | 785938eebdcf39d6ee54005e38afc474fdb5e1ea | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sun Dec 11 20:09:03 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sun Dec 11 20:09:03 2011 +0100 |
tree | 14c1699fca3f508d3f27b9a5af9bbc196fa67f14 | |
parent | 84def3774d2079ea2a812e0220507ff0e27247e7 [diff] |
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