]> granicus.if.org Git - python/commit
UnicodeEncodeError uses the new Unicode API
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 20 Nov 2011 21:50:23 +0000 (22:50 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 20 Nov 2011 21:50:23 +0000 (22:50 +0100)
commitda1ddf37c68f76041ca8ebb75e0016e96cc3f67b
tree9a6b64340bfd919884a3fe0df03cd438f57ced0e
parent4ead7c7be8089de7cab5db7d2a75e6bec5b55f10
UnicodeEncodeError uses the new Unicode API

The index is a character index, not a index in a Py_UNICODE* string.
Objects/exceptions.c