Author loewis
Recipients amaury.forgeotdarc, giampaolo.rodola, gpolo, loewis, pitrou
Date 2008-07-05.22:20:58
SpamBayes Score 0.00710637
Marked as misclassified No
Message-id <1215296459.52.0.876354241978.issue3139@psf.upfronthosting.co.za>
In-reply-to
Content
I believe the 2.6 s# processing works correctly; the error is in the
bytearray object. This either shouldn't support the buffer interface, or
it shouldn't reallocate the buffer after having returned a pointer to it.

For 3k, convertbuffer shouldn't call bf_releasebuffer; instead, the
caller of ParseTuple somehow needs to release the buffer. As a
consequence, s# should refuse buffer objects who have a bf_releasebuffer
operation, and another code might get added to fill out a Py_buffer - or
s# can get changed to always produce a Py_buffer (which would affect the
code significantly).
History
Date User Action Args
2008-07-05 22:20:59loewissetspambayes_score: 0.00710637 -> 0.00710637
recipients: + loewis, amaury.forgeotdarc, pitrou, giampaolo.rodola, gpolo
2008-07-05 22:20:59loewissetspambayes_score: 0.00710637 -> 0.00710637
messageid: <1215296459.52.0.876354241978.issue3139@psf.upfronthosting.co.za>
2008-07-05 22:20:58loewislinkissue3139 messages
2008-07-05 22:20:58loewiscreate