[Numpy-discussion] numarray memmap and gc
Simon Burton
simon at arrowtheory.com
Tue May 10 17:29:35 EDT 2005
On Tue, 10 May 2005 08:13:34 -0400
Todd Miller <jmiller at stsci.edu> wrote:
>
> I'm nervous about sticking in a circular reference (the Memmap already
> remembers it's slices) but I suppose the garbage collector was added for
> exactly this case. I'm not entirely sure how hard it's going to be to
> add.
Yes, this is a good point. But also, memmaps have a close method so users can always explicitly
break this cycle if they want.
Either way, appropriate warnings should be added to the documentation.
bye,
Simon.
--
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com
More information about the NumPy-Discussion
mailing list