PyUnicode_WriteChar() raises IndexError on invalid index
PyUnicode_WriteChar() raises also a ValueError if the string has more than 1 reference.
V
Victor Stinner committed
cd9950fd094394927c0cf85560679ca6a7b33038
Parent: 2fe5ced