Message71099
> 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. |
|
Date |
User |
Action |
Args |
2008-08-13 21:12:31 | pitrou | set | recipients:
+ pitrou, lemburg, loewis, barry, teoliphant, amaury.forgeotdarc, donmez, benjamin.peterson, gpolo |
2008-08-13 21:12:31 | pitrou | set | messageid: <1218661951.33.0.447411702856.issue3139@psf.upfronthosting.co.za> |
2008-08-13 21:12:30 | pitrou | link | issue3139 messages |
2008-08-13 21:12:30 | pitrou | create | |
|