commit | eb36fdaad8bd38c60973eb69b1307315fa950372 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Sat Oct 03 01:55:51 2015 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Sat Oct 03 01:55:51 2015 +0200 |
tree | 142bde202997a768779770611bf9503050ca62de | |
parent | 11faa218438bebc56a6ea1db405b19ed5b554aa0 [diff] |
Fix _PyUnicodeWriter_PrepareKind() Initialize kind to 0 (PyUnicode_WCHAR_KIND) to ensure that _PyUnicodeWriter_PrepareKind() handles correctly read-only buffer: copy the buffer.