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 christian.heimes
Recipients christian.heimes, dwoodjunkmail
Date 2021-03-08.21:43:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615239836.5.0.908222113478.issue43435@roundup.psfhosted.org>
In-reply-to
Content
Py_BuildValue("y#", output, count) is equivalent to PyBytes_FromStringAndSize(output, count). The function returns a copy of the input string as a new bytes object. It's very unlikely that the code is broken. It's been around for ages and it's a core feature.
History
Date User Action Args
2021-03-08 21:43:56christian.heimessetrecipients: + christian.heimes, dwoodjunkmail
2021-03-08 21:43:56christian.heimessetmessageid: <1615239836.5.0.908222113478.issue43435@roundup.psfhosted.org>
2021-03-08 21:43:56christian.heimeslinkissue43435 messages
2021-03-08 21:43:56christian.heimescreate