Message115810
>> Is this not covered by PEP 3118 at all?
>
> The PEP says “this memory view object holds on to the memory of base
> [i.e. the object the buffer was acquired from] until it is deleted”.
> Apparently issues pertaining to delayed garbage collection weren't
> raised at the time.
As with a few(!) other things in relation to this PEP, the primary
consumers were most interested in the C API side of things, so we
collectively missed relevant details on the Python side.
+1 on adding release() (obviously), and +1 on direct support for
context management (it seems very analogous to file.close to me, so
direct support makes more sense than leaving it out). |
|
Date |
User |
Action |
Args |
2010-09-07 22:03:45 | ncoghlan | set | recipients:
+ ncoghlan, gvanrossum, pitrou |
2010-09-07 22:03:43 | ncoghlan | link | issue9757 messages |
2010-09-07 22:03:43 | ncoghlan | create | |
|