]> granicus.if.org Git - python/commit
_PyUnicodeWriter_WriteStr() now checks that the input string is consistent
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 26 Mar 2015 08:37:23 +0000 (09:37 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 26 Mar 2015 08:37:23 +0000 (09:37 +0100)
commit1912b39deffe416f6b0c16df64b634a3e55fd424
tree823fe8024c934e74f13a51bb20564f291914245d
parentaa4c36fbbb47fe54d578cb7f04f53179360e5aa7
_PyUnicodeWriter_WriteStr() now checks that the input string is consistent
in debug mode to detect bugs earlier.

_PyUnicodeWriter_Finish() doesn't check if the read only string is consistent,
whereas it does check consistency for strings built by itself.
Objects/unicodeobject.c