STINNER Victor added the comment:

The commit b9030674624c181d6e9047cdb14ad65bb6c84c66 fixes one leaking thread. I 
don't know if it's enough.

Koobs gave me a SSH access to his FreeBSD buildbots (9, 10 and CURRENT), but I 
failed to reproduce the warning issue :-( I tried to run my system_load.py to 
run the tests when the system load is 5 or higher, but it doesn't help. I tried 
to run test_asyncio 4 times in parallel, but I was still unable to reproduce 
the bug.

The commit b9030674624c181d6e9047cdb14ad65bb6c84c66 not only fixes a bug 
(cleanup correctly one event loop), but it now also checks after *each* test 
that we don't leak threads. At least, if the bug reoccurs and the test is run 
in verbose mode, we will get the name of the test which leaked threads!

----------

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

Reply via email to