]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix resize_compact() and resize_inplace(); reenable full resize optimizations
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 10:52:27 +0000 (12:52 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 10:52:27 +0000 (12:52 +0200)
commitc379ead9afe114e1023ad64a9dea9a3a9a869ecf
tree6b0bfe12489fded4125f9638e5701a90f636738c
parent34411e17b0f77a2ae7b34fdb6b52ddcf5ea9ae3c
Fix resize_compact() and resize_inplace(); reenable full resize optimizations

 * resize_compact() updates also wstr_len for non-ascii strings sharing wstr
 * resize_inplace() updates also utf8_len/wstr_len for strings sharing
   utf8/wstr
Objects/unicodeobject.c