def __init__(self, *args, **kw): self.http_retry = kw.get('http_retry', 3) Stream.__init__(self, *args, **kw)