[Python-Dev] memory leaks in 2.2

Neal Norwitz neal@metaslash.com
Thu, 06 Dec 2001 09:24:19 -0500

Guido van Rossum wrote:
> > I can't find a leak in test_descr.py when I simply call test_main() in
> > an infinite loop.  (I can when I use reload() in the loop, but that's
> > an import issue I believe.)
> >
> > Neil, did you test this before or after I fixed the __slots__ leak?
> Never mind, with Ping's hint I see a leak.  I'll fixit momentarily.

In test_descr, buffer_inherit() leaks 35 bytes which may indicate
the problem.