[Numpy-discussion] numpy.any oddity
Suchindra Sandhu
suchindra at gmail.com
Fri Feb 6 14:24:37 EST 2009
Hi,
I accidently stumbled upon this odd behavior by numpy.any. The following
code leaks memory -
for i in xrange(10000000):
print N.any({'whatever': N.arange(10000000)})
Ofcourse, I called "any" on a dict object by accident, but it should not
really leak memory.
I am running numpy version 1.0.4 with python 2.5.2
Cheers,
Suchindra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090206/f37e66cf/attachment.html>
More information about the NumPy-Discussion
mailing list