commit | 684d5fd42067109f46e94ea3ddab72ebd4e130ee | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu May 03 02:32:34 2012 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu May 03 02:32:34 2012 +0200 |
tree | e422af086c643d02ff3181177db6451ee23499db | |
parent | b6cd014d75394ca48e6113d614d36ed16fbe7b13 [diff] |
Fix PyUnicode_Substring() for start >= length and start > end Remove the fast-path for 1-character string: unicode_fromascii() and _PyUnicode_FromUCS*() now have their own fast-path for 1-character strings.