Re: [Python-Dev] refleaks on trunk

2008-04-01 Thread Amaury Forgeot d'Arc
On Tue, Apr 1, 2008 at 6:34 AM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > test_io is the only leaky test on trunk that I know of. I narrowed > down the leaks to the code below. > > It's possible there are other leaks in test_io. > > n > -- > import sys, gc > import _fileio, io > > class Fil

[Python-Dev] refleaks on trunk

2008-03-31 Thread Neal Norwitz
test_io is the only leaky test on trunk that I know of. I narrowed down the leaks to the code below. It's possible there are other leaks in test_io. n -- import sys, gc import _fileio, io class FileIO(_fileio._FileIO, io.RawIOBase): def close(self): io.RawIOBase.close(self) def mai