Message120281
> Read the "Releasing the buffer" section in PEP 3118 again. Unless I'm
> misunderstanding you completely, the rules you're asking for are
> already in place: those fields are entirely the responsibility of the
> exporting object, and it needs to ensure they remain valid until the
> buffer is released.
In practice, though, we copy Py_buffer structs around and there's no way
for the original object to know about that. That's the fundamental
difference with a PyObject where you would only increase a refcount
instead of copying the structure's contents. |
|
Date |
User |
Action |
Args |
2010-11-02 23:01:14 | pitrou | set | recipients:
+ pitrou, ncoghlan, rupole |
2010-11-02 23:01:12 | pitrou | link | issue10181 messages |
2010-11-02 23:01:11 | pitrou | create | |
|