This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2017-09-29.07:58:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506671888.42.0.213398074469.issue31626@psf.upfronthosting.co.za>
In-reply-to
Content
"_PyUnicodeWriter_Finish() calls resize_compact() for truncating the result, but the latter fills the last 15 bytes with \xdb. Since the string is tagged as ASCII, thus crashing in _PyUnicode_CheckConsistency."

Cool. My code works as expected to catch bugs :-)
History
Date User Action Args
2017-09-29 07:58:08vstinnersetrecipients: + vstinner, serhiy.storchaka
2017-09-29 07:58:08vstinnersetmessageid: <1506671888.42.0.213398074469.issue31626@psf.upfronthosting.co.za>
2017-09-29 07:58:08vstinnerlinkissue31626 messages
2017-09-29 07:58:08vstinnercreate