]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
PyUnicode_WriteChar() raises IndexError on invalid index
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 1 Oct 2011 22:34:53 +0000 (00:34 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 1 Oct 2011 22:34:53 +0000 (00:34 +0200)
commitcd9950fd094394927c0cf85560679ca6a7b33038
tree5678a6da8d21beed514da006c3ef12ac4bbf734c
parent2fe5ced752d5d17eae3e0ad23c0f7f2208770d2d
PyUnicode_WriteChar() raises IndexError on invalid index

PyUnicode_WriteChar() raises also a ValueError if the string has more than 1
reference.
Include/unicodeobject.h
Objects/unicodeobject.c