Message71099
| Author |
pitrou |
| Recipients |
amaury.forgeotdarc, barry, benjamin.peterson, donmez, gpolo, lemburg, loewis, pitrou, teoliphant |
| Date |
2008年08月13日.21:12:30 |
| SpamBayes Score |
0.00012468446 |
| 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. |
|