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 asvetlov, blais, docs@python, martin.panter
Date 2015-05-26.08:10:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a patch.

Looking at the code, s#, z#, y and y# are the conversions that call convertbuffer(). These require that the object does not have a PyBufferProcs.bf_releasebuffer() method, which guarantees that the buffer’s lifetime is the same as the underlying object.

In the patch I also removed a contradictory notice about nulls with the “u” conversion.
Date User Action Args
2015-05-26 08:10:40martin.pantersetrecipients: + martin.panter, blais, asvetlov, docs@python
2015-05-26 08:10:40martin.pantersetmessageid: <>
2015-05-26 08:10:40martin.panterlinkissue24278 messages
2015-05-26 08:10:40martin.pantercreate