STINNER Victor <vstin...@python.org> added the comment:

Cool, my threading change works as expected! The name of the target function 
was logged.

https://buildbot.python.org/all/#/builders/509/builds/172

0:00:28 load avg: 3.58 [ 36/424/1] test_logging failed (env changed)
Warning -- threading_cleanup() failed to cleanup 2 threads (count: 2, dangling: 
3)
Warning -- Dangling thread: <Thread(Thread-4 (removeTarget), started daemon 
4396862667024)>
Warning -- Dangling thread: <Thread(Thread-11 (removeTarget), started daemon 
4396595259664)>
Warning -- Dangling thread: <_MainThread(MainThread, started 4396920310576)>

So leaked threads are running removeTarget() which come from 
MemoryHandlerTest.test_race_between_set_target_and_flush().

----------
title: test_logging: threading_cleanup() failed to cleanup 1 threads (count: 1, 
dangling: 2) -> test_logging: test_race_between_set_target_and_flush() leaks 
threads (threading_cleanup() failed to cleanup ...)

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

Reply via email to