INADA Naoki <> added the comment:

There are some resource leaks:

* When error occurred in setUp() function, server thread is not stopped.  It 
leaked threads and sockets for the server.
* When error occurred in server thread's run() method, asyncore.close_all() is 
not called.

These leaks makes dangling threads.  It caused hang in test_poplib shutdown 

Additionally, the error is not printed in these cases.  It makes harder to fix 
real problem.

nosy: +inada.naoki
stage: patch review -> 

Python tracker <>
Python-bugs-list mailing list

Reply via email to