Thomas Heller added the comment:

Guido van Rossum schrieb:
> Thanks!  (I agree with Eric Smith that this is mysterious for the
> innocent bystander.)

I have added a comment.

> Also, what about the -33/+33 leaks?  I suppose these are harmless, but
> it would be better if the test reliably didn't report leaks...

I am using my own definition of leaking:  a test is leaking if references
grow without bounds ;-).

Ok, I found that the test in charge is Lib/ctypes/test/test_loading.py,
LoaderTest.test_find.  This test uses the ctypes.util.find_library function,
which contains several calls to os.popen(...).read().

The minimal code reporting the -33/+33 leaks that I found is simply this:

   os.popen('ls').read()

Is there a problem in "os.popen(...)", or do I something wrong here?

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1597>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to