rholder / retrying

Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything.
Apache License 2.0
1.91k stars 157 forks source link

retrying with generators #53

Open Euphorbium opened 8 years ago

Euphorbium commented 8 years ago

Will this work with a generator, and would it be possible to resume retrying from the failed state in a generator, not from the beginning?

suanmeiguo commented 7 years ago

I just tried it myself, don't think it'll work with generators. Basically the retry library doesn't take effects if it's on a function yield stuff.

fcracker79 commented 5 years ago

I have implemented generator support. Here it is the pull request:

https://github.com/rholder/retrying/pull/83

I am waiting for some feedback from retrying library author.

fcracker79 commented 5 years ago

Given the feedback I received after a week, I wonder if there is still a maintainer of this project. @rholder could you please review the pull request?