commit | bc603d12b7f7db959878068de65e623298a7eae3 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sun Oct 02 01:00:40 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sun Oct 02 01:00:40 2011 +0200 |
tree | e9ca3e82362d54e8c8b28cfb8b155e47c7e0682e | |
parent | 7a48ff7e068c1f292a151d3778586ec2050196e6 [diff] |
Optimize _PyUnicode_AsKind() for UCS1->UCS4 and UCS2->UCS4 * Ensure that the input string is ready * Raise a ValueError instead of of a fatal error