Message120321
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) |
|
| 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: <[email protected]> |
| 2010-11-03 12:51:50 | ncoghlan | link | issue10181 messages |
| 2010-11-03 12:51:50 | ncoghlan | create | |
|