commit | fe226c0d375c221a7ad0c34fda15c5d2c64e0dcc | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 03 03:52:20 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 03 03:52:20 2011 +0200 |
tree | e1a2f1709b6c6039be13680a6d42ecdfb3fc4b37 | |
parent | 829c0adca9cb3f44d491e166f3c2693e08ef51a7 [diff] |
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()