commit | 1912b39deffe416f6b0c16df64b634a3e55fd424 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Mar 26 09:37:23 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Mar 26 09:37:23 2015 +0100 |
tree | 823fe8024c934e74f13a51bb20564f291914245d | |
parent | aa4c36fbbb47fe54d578cb7f04f53179360e5aa7 [diff] |
_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.