Slow termination of process
rosuav at gmail.com
Tue Mar 27 22:57:17 CEST 2012
On Wed, Mar 28, 2012 at 1:52 AM, Roland Hedberg <roland at catalogix.se> wrote:
> So, I went for the low-hanging fruit and defined my own TCPServer class
> class MyTCPServer(SocketServer.TCPServer):
> def __init__(self, server_address, RequestHandlerClass):
> self.allow_reuse_address = True
> SocketServer.TCPServer.__init__(self, server_address,
> and this solved my problem!
> So, thanks again Chris!
Awesome! I wonder - and someone who's used the facility may know
better than I - is there a reason not to make these sorts of things
into keyword-only arguments? Or, more generally, is there a reason for
them to be class variables rather than instance?
More information about the Python-list