New submission from Antoine Pitrou <pit...@free.fr>:

When run independently, test_modulefinder doesn't leak:

$ ./python -m test.regrtest -R 3:2 test_modulefinder
test_modulefinder
beginning 5 repetitions
12345
.....
1 test OK.
[93448 refs]

But it does leak if test_distutils was run before it:

$ ./python -m test.regrtest -R 3:2 test_distutils test_modulefinder
test_distutils
[31861 refs]
beginning 5 repetitions
12345
[31861 refs]
.[31861 refs]
.[31861 refs]
.[31861 refs]
.[31861 refs]
.
test_modulefinder
beginning 5 repetitions
12345
.....
test_modulefinder leaked [145, 145] references, sum=290


The fact that test_modulefinder uses distutils.dir_util could have
something to do with this?

----------
components: Library (Lib), Tests
messages: 88449
nosy: pitrou, tarek
priority: normal
severity: normal
status: open
title: test_modulefinder leaks when run after test_distutils
type: resource usage
versions: Python 3.1

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6131>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to