diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-02 23:55:51 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-02 23:55:51 (GMT) |
commit | eb36fdaad8bd38c60973eb69b1307315fa950372 (patch) | |
tree | 142bde202997a768779770611bf9503050ca62de /Lib/test/test_regrtest.py | |
parent | 11faa218438bebc56a6ea1db405b19ed5b554aa0 (diff) | |
download | cpython-eb36fdaad8bd38c60973eb69b1307315fa950372.zip cpython-eb36fdaad8bd38c60973eb69b1307315fa950372.tar.gz cpython-eb36fdaad8bd38c60973eb69b1307315fa950372.tar.bz2 |
Fix _PyUnicodeWriter_PrepareKind()
Initialize kind to 0 (PyUnicode_WCHAR_KIND) to ensure that
_PyUnicodeWriter_PrepareKind() handles correctly read-only buffer: copy the
buffer.
Diffstat (limited to 'Lib/test/test_regrtest.py')
0 files changed, 0 insertions, 0 deletions