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 kristjan.jonsson
Recipients brian.curtin, docs@python, kristjan.jonsson, opstad
Date 2010-07-08.20:33:01
SpamBayes Score 0.013967299
Marked as misclassified No
Message-id <1278621184.54.0.046166589819.issue8946@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation issue appears present in 2.7 (and 2.6).
Further, the Py_buffer member 'obj' is undocumented, and the in-line comment in object.h falsely states that it is a "borrowed" reference, whereas PyBuffer_Release() Py_XDECREFs it and clears it.  Thus, it is also safe to call PyBuffer_Release() more than once, something that can be useful for certain error scenarios.

PEP 3118 also has not been updated to reflect the above.
History
Date User Action Args
2010-07-08 20:33:05kristjan.jonssonsetrecipients: + kristjan.jonsson, brian.curtin, docs@python, opstad
2010-07-08 20:33:04kristjan.jonssonsetmessageid: <1278621184.54.0.046166589819.issue8946@psf.upfronthosting.co.za>
2010-07-08 20:33:02kristjan.jonssonlinkissue8946 messages
2010-07-08 20:33:01kristjan.jonssoncreate