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 methane, serhiy.storchaka, vstinner
Date 2019-12-19.10:37:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576751840.69.0.228803409022.issue39087@roundup.psfhosted.org>
In-reply-to
Content
return PyBytesType.tp_as_buffer(bytes, view, PyBUF_CONTIG_RO);

Don't you need to DECREF bytes somehow, at least, in case of failure?
History
Date User Action Args
2019-12-19 10:37:20vstinnersetrecipients: + vstinner, methane, serhiy.storchaka
2019-12-19 10:37:20vstinnersetmessageid: <1576751840.69.0.228803409022.issue39087@roundup.psfhosted.org>
2019-12-19 10:37:20vstinnerlinkissue39087 messages
2019-12-19 10:37:20vstinnercreate