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 pitrou
Recipients docs@python, kermode, pitrou
Date 2010-10-01.01:10:21
SpamBayes Score 6.40226e-07
Marked as misclassified No
Message-id <1285895424.84.0.760711862577.issue10001@psf.upfronthosting.co.za>
In-reply-to
Content
The recommended way is to use PyBuffer_FillInfo() (and then fill in any additional data if necessary), which will set the pointer and incref it itself.

I agree all this is a bit poorly documented.
History
Date User Action Args
2010-10-01 01:10:25pitrousetrecipients: + pitrou, kermode, docs@python
2010-10-01 01:10:24pitrousetmessageid: <1285895424.84.0.760711862577.issue10001@psf.upfronthosting.co.za>
2010-10-01 01:10:22pitroulinkissue10001 messages
2010-10-01 01:10:21pitroucreate