Message128538
Another idea we may want to revisit is the PyManagedBuffer concept, which would be a true PyObject that existed solely to simplify sharing of Py_buffer structs.
If memoryview used such an object internally, then copying and slicing would be quite simple - just INCREF the managed buffer instance without letting the original source object know anything was going on. |
|
| Date |
User |
Action |
Args |
| 2011-02-14 11:29:16 | ncoghlan | set | recipients:
+ ncoghlan, loewis, teoliphant, mark.dickinson, rupole, kermode, pitrou, pv |
| 2011-02-14 11:29:16 | ncoghlan | set | messageid: <[email protected]> |
| 2011-02-14 11:29:13 | ncoghlan | link | issue10181 messages |
| 2011-02-14 11:29:13 | ncoghlan | create | |
|