Adrian Teng added the comment:
Yup. Tested on 2.7.5 and it doesn't leak. I guess this is a duplicate of #15219.
Cheers!
--
resolution: -> duplicate
___
Python tracker
<http://bugs.python.org
Adrian Teng added the comment:
Python 2.7.3, Red Hat Enterprise Linux Server release 5.5, with kernal
2.6.18-308.el5
--
___
Python tracker
<http://bugs.python.org/issue20
New submission from Adrian Teng:
A particular usage pattern of hashlib will cause a memory leak.
This leaks:
import hashlib
import sys
if __name__ == '__main__':
data_sha1 = "hello world"
data_md5 = "hello world"
for i in xrange(int(1e6)):