]> granicus.if.org Git - python/commit
Issue #8870: PyUnicode_AsWideCharString() doesn't count the trailing nul character
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 2 Oct 2010 11:03:13 +0000 (11:03 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 2 Oct 2010 11:03:13 +0000 (11:03 +0000)
commit1c24bd02520a647415de5c220834d7bec265a8d0
treeaee2e4580a0fb8b3027733119d4836566ac8b2d5
parent5a2da3b3adc6d36fcebac0c4aeceffa1ff4e4d33
Issue #8870: PyUnicode_AsWideCharString() doesn't count the trailing nul character

And write unit tests for PyUnicode_AsWideChar() and PyUnicode_AsWideCharString().
Doc/c-api/unicode.rst
Lib/test/test_unicode.py
Modules/_testcapimodule.c
Objects/unicodeobject.c