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 <1432627840.71.0.125332969671.issue24278@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-26 08:10:40martin.pantersetrecipients: + martin.panter, blais, asvetlov, docs@python
2015-05-26 08:10:40martin.pantersetmessageid: <1432627840.71.0.125332969671.issue24278@psf.upfronthosting.co.za>
2015-05-26 08:10:40martin.panterlinkissue24278 messages
2015-05-26 08:10:40martin.pantercreate