Re: [Numpy-discussion] numpy.any oddity

2009-02-07 Thread Suchindra Sandhu
Thanks. I tried the latest version and indeed there is no leak. Cheers, Suchindra On Fri, Feb 6, 2009 at 3:39 PM, Robert Kern wrote: > On Fri, Feb 6, 2009 at 13:24, Suchindra Sandhu > wrote: > > Hi, > > > > I accidently stumbled upon this odd behavior by numpy.any. The following > > code leaks

Re: [Numpy-discussion] numpy.any oddity

2009-02-06 Thread Robert Kern
On Fri, Feb 6, 2009 at 13:24, Suchindra Sandhu wrote: > Hi, > > I accidently stumbled upon this odd behavior by numpy.any. The following > code leaks memory - > > for i in xrange(1000): > print N.any({'whatever': N.arange(1000)}) > > Ofcourse, I called "any" on a dict object by acc

[Numpy-discussion] numpy.any oddity

2009-02-06 Thread Suchindra Sandhu
Hi, I accidently stumbled upon this odd behavior by numpy.any. The following code leaks memory - for i in xrange(1000): print N.any({'whatever': N.arange(1000)}) Ofcourse, I called "any" on a dict object by accident, but it should not really leak memory. I am running numpy versi