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 georg.brandl, pitrou
Date 2010-09-01.14:48:06
SpamBayes Score 0.00046752882
Marked as misclassified No
Message-id <1283352487.82.0.810736642174.issue5506@psf.upfronthosting.co.za>
In-reply-to
Content
Thinking about it, I'm not sure this would be a good idea to do this by default. There is an ambiguity where it's not obvious if the buffer would contain the whole data or only the bytes after the current position.

I think perhaps an explicit method (getbuffer()?) could be used to export a buffer-compatible object, without copying. Perhaps a memoryview; this would imply defining bf_releasebuffer without bf_getbuffer.
History
Date User Action Args
2010-09-01 14:48:07pitrousetrecipients: + pitrou, georg.brandl
2010-09-01 14:48:07pitrousetmessageid: <1283352487.82.0.810736642174.issue5506@psf.upfronthosting.co.za>
2010-09-01 14:48:06pitroulinkissue5506 messages
2010-09-01 14:48:06pitroucreate