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 martin.panter
Recipients benjamin.peterson, docs@python, martin.panter, r.david.murray, vstinner, zbysz
Date 2014-12-18.05:24:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a patch that changes over to a str() type.

Is it safe to assume PyUnicode_AsUTF8() is null-terminated (like PyBytes_AS_STRING() is)? My documentation doesn’t say.
Date User Action Args
2014-12-18 05:25:00martin.pantersetrecipients: + martin.panter, vstinner, benjamin.peterson, r.david.murray, zbysz, docs@python
2014-12-18 05:25:00martin.pantersetmessageid: <>
2014-12-18 05:25:00martin.panterlinkissue21071 messages
2014-12-18 05:25:00martin.pantercreate