I'd welcome ideas about what to set `total` to, if not some large 
number. See my other comment.

On 2/3/14, 3:10, Andrey Petrov wrote:
>
> In urllib3/util/retry.py:
>
> > +
> > +from ..packages import six
> > +
> > +from ..exceptions import (
> > +    ConnectTimeoutError,
> > +    ReadTimeoutError,
> > +)
> > +
> > +xrange = six.moves.xrange
> > +
> > +# How many retries we should set for "total" if you do not specify a total. This
> > +# limit only applies if you set ``connect`` and ``read`` to higher values than
> > +# this. In any event, it may be an academic exercise since Python's recursion
> > +# limit will probably be reached before this one. Users can "edit" this value by
> > +# passing a ``total`` value to the Retry object.
> > +MAX_SANE_RETRY = 1000
>
> -0.5 on this. Seems like superfluous and surprising.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/shazow/urllib3/pull/326/files#r9373284>.
>