_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.
V
Victor Stinner committed
1912b39deffe416f6b0c16df64b634a3e55fd424
Parent: aa4c36f