Closed andrevmatos closed 6 years ago
Just a comment: generators are iterables, not iterators. Iterables have an __iter__
method, which should return an iterator. Iterators have the next
method to actually iterate over anything. This difference led to some bugs which were fortunatelly caught before merge by the tests, so I went with the retry_delay
function case returning an iterable, which can then be for
-looped, which should handle all cases as expected.
This is fine from my side now. Now you only need to find a solution you and Augusto can both agree to :)
Now you only need to find a solution you and Augusto can both agree to :)
I'm fine with it. We don't agree on the solution but I don't think it's worth to discuss it further.
Part of the fix for raiden-network/raiden#2058