Message58505
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? |
|
| Date |
User |
Action |
Args |
| 2007-12-12 20:11:39 | theller | set | spambayes_score: 0.00712791 -> 0.00712791 recipients:
+ theller, gvanrossum |
| 2007-12-12 20:11:39 | theller | link | issue1597 messages |
| 2007-12-12 20:11:38 | theller | create | |
|