On Wed, Mar 28, 2012 at 1:52 AM, Roland Hedberg <rol...@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, > RequestHandlerClass) > > 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? Chris Angelico -- http://mail.python.org/mailman/listinfo/python-list