This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients corona10, shihai1991, vstinner
Date 2020-10-11.22:01:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Cool, my threading change works as expected! The name of the target function was logged.

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().
Date User Action Args
2020-10-11 22:01:17vstinnersetrecipients: + vstinner, corona10, shihai1991
2020-10-11 22:01:17vstinnersetmessageid: <>
2020-10-11 22:01:17vstinnerlinkissue41739 messages
2020-10-11 22:01:17vstinnercreate