[issue2302] Uses of SocketServer.BaseServer.shutdown have a race

Antoine Pitrou report at bugs.python.org
Sat Apr 17 23:39:05 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Here is a simpler patch. It also fixes the wrong use of a lock instead of an event in test_httpservers. With this patch, test_httpservers runs forever without freezing.

----------
Added file: http://bugs.python.org/file16964/shutdown.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2302>
_______________________________________


More information about the Python-bugs-list mailing list