Message109594
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. |
|
Date |
User |
Action |
Args |
2010-07-08 20:33:05 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, brian.curtin, docs@python, opstad |
2010-07-08 20:33:04 | kristjan.jonsson | set | messageid: <1278621184.54.0.046166589819.issue8946@psf.upfronthosting.co.za> |
2010-07-08 20:33:02 | kristjan.jonsson | link | issue8946 messages |
2010-07-08 20:33:01 | kristjan.jonsson | create | |
|