[issue1193577] add server.shutdown() method and daemon arg to SocketServer

Pedro Werneck report at bugs.python.org
Mon Feb 25 20:26:50 CET 2008

Pedro Werneck added the comment:

I had some code here to do the exact same thing with XML-RPC server. The
patch adds the feature to SocketServer, with a server.shutdown() method
to stop serve_forever(), and change the unittest to use and test the

I disagree on adding the daemon_threads arg as a keyword to TCPServer
since that's a feature of ThreadingMixIn

keywords: +patch
nosy: +werneck
Added file: http://bugs.python.org/file9553/issue1193577.patch

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list