Message120321
| Author |
ncoghlan |
| Recipients |
ncoghlan, pitrou, rupole |
| Date |
2010年11月03日.12:51:50 |
| SpamBayes Score |
2.026169e-05 |
| Marked as misclassified |
No |
| Message-id |
<1288788712.4.0.755696279881.issue10181@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It doesn't help that neither PEP 3118 nor the Py_buffer docs mention the "obj" member of the Py_buffer struct that refers back to the original object providing the buffer - that's fairly fundamental to understanding how PyBuffer_Release and PyMemoryView_FromBuffer can work even in theory.
(Given that, an additional _PyManagedBuffer object shouldn't be necessary - MemoryView just needs to call ReleaseBuffer and GetBuffer at the appropriate times) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月03日 12:51:52 | ncoghlan | set | recipients:
+ ncoghlan, rupole, pitrou |
| 2010年11月03日 12:51:52 | ncoghlan | set | messageid: <1288788712.4.0.755696279881.issue10181@psf.upfronthosting.co.za> |
| 2010年11月03日 12:51:50 | ncoghlan | link | issue10181 messages |
| 2010年11月03日 12:51:50 | ncoghlan | create |
|