Message139921
| Author |
ncoghlan |
| Recipients |
jcon, kermode, mark.dickinson, ncoghlan, petri.lehtinen, pitrou, pv, rupole, skrah, teoliphant, vstinner |
| Date |
2011年07月06日.04:21:36 |
| SpamBayes Score |
6.625185e-06 |
| Marked as misclassified |
No |
| Message-id |
<1309926097.0.0.510751966682.issue10181@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Sorry, I mischaracterised Antoine's suggestion in my last comment. It's more in the nature of ManagedBuffer exposing two APIs:
1. request_release(): tells ManagedBuffer "if I have the last reference, release the buffer now".
2. release(): immediately releases the buffer, or triggers SystemError if there are additional references to the buffer.
memoryview.release() would call the first method before dropping the reference to the buffer. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月06日 04:21:37 | ncoghlan | set | recipients:
+ ncoghlan, teoliphant, mark.dickinson, rupole, kermode, pitrou, vstinner, pv, skrah, jcon, petri.lehtinen |
| 2011年07月06日 04:21:37 | ncoghlan | set | messageid: <1309926097.0.0.510751966682.issue10181@psf.upfronthosting.co.za> |
| 2011年07月06日 04:21:36 | ncoghlan | link | issue10181 messages |
| 2011年07月06日 04:21:36 | ncoghlan | create |
|