STINNER Victor added the comment: Hum, it looks like resize_compact() clears wstr, but don't reset wstr_length to 0. Attached patch should fix that.
---------- keywords: +patch nosy: +haypo Added file: http://bugs.python.org/file41728/wstr_len.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26217> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com