diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-02 01:00:40 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-02 01:00:40 +0200 |
commit | bc603d12b7f7db959878068de65e623298a7eae3 (patch) | |
tree | e9ca3e82362d54e8c8b28cfb8b155e47c7e0682e /Python/codecs.c | |
parent | 7a48ff7e068c1f292a151d3778586ec2050196e6 (diff) | |
download | cpython-git-bc603d12b7f7db959878068de65e623298a7eae3.tar.gz |
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
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions