diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-03 03:52:20 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-03 03:52:20 +0200 |
commit | fe226c0d375c221a7ad0c34fda15c5d2c64e0dcc (patch) | |
tree | e1a2f1709b6c6039be13680a6d42ecdfb3fc4b37 /Python/pystrcmp.c | |
parent | 829c0adca9cb3f44d491e166f3c2693e08ef51a7 (diff) | |
download | cpython-git-fe226c0d375c221a7ad0c34fda15c5d2c64e0dcc.tar.gz |
Rewrite PyUnicode_Resize()
* Rename _PyUnicode_Resize() to unicode_resize()
* unicode_resize() creates a copy if the string cannot be resized instead
of failing
* Optimize resize_copy() for wstr strings
* Disable temporary resize_inplace()
Diffstat (limited to 'Python/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions