def __init__(self, *args, **kw): DummyHandler.__init__(self, *args, **kw) self.connections = {} self.conn_lock = Lock()