Author pitrou
Recipients amaury.forgeotdarc, barry, benjamin.peterson, donmez, gpolo, lemburg, loewis, pitrou, teoliphant
Date 2008-08-13.21:12:30
SpamBayes Score 0.000124684
Marked as misclassified No
Message-id <1218661951.33.0.447411702856.issue3139@psf.upfronthosting.co.za>
In-reply-to
Content
> In any case, the corresponding DECREF *does* exist: in memory_dealloc,
> PyBuffer_Release is invoked, which releases the reference.

I'm a bit confused. In the PyBuffer_Release implementation you
committed, there is no DECREF at all.

> > By the way, perhaps PyBuffer_Release should set view->obj and view->buf
> > to NULL (and view->len to -1?), it would be a simple way to signal that
> > the buffer can't be used anymore.
> 
> That can be done; it's again a separate patch.

Ok.
History
Date User Action Args
2008-08-13 21:12:31pitrousetrecipients: + pitrou, lemburg, loewis, barry, teoliphant, amaury.forgeotdarc, donmez, benjamin.peterson, gpolo
2008-08-13 21:12:31pitrousetmessageid: <1218661951.33.0.447411702856.issue3139@psf.upfronthosting.co.za>
2008-08-13 21:12:30pitroulinkissue3139 messages
2008-08-13 21:12:30pitroucreate