Bob Green

Results 29 comments of Bob Green

Thanks for this! It's going to take me a little bit to review it carefully, but I will do so as soon as I get a chance.

This seems good to me. Just curious, did you run into this because you in your use case the number of retries was very high?

I like this idea. In particular, the context manager variant of it. That said, I've tried to keep the API surface of this library as small as possible, and I'd...

I spent a little time exploring the context manager variant of this. Unfortunately, it's not possible to retry blocks of code this way. See https://www.python.org/dev/peps/pep-0343/ - specifically the comments about...

@pquentin Thank you for the suggestion. I think adding these best practices to the documentation is a fine idea. That documentation is getting a bit crowded as a simple README,...

Thank you! This is merged. For the time being I removed Details from the top level name space. I think you're right it is handy for end users, but I...

Thank you and sorry it took me so long. This is merged and I am going to do a backoff v2.2.0 release including it

@ericboucher I need more information here. What backoff decorator are you using? What is the function you are decorating? A minimal code example would help.

You're only showing me the handler, not the declaration of backoff decorator, but it looks like you must be using the `on_exception` decorator, so I will make a few guesses....