Mathieu Dubois

Results 38 comments of Mathieu Dubois

@lukes, If I'm correct ISO 3166 part 1 indicates if a territory is independent or not so that's a start. This is reflected in [the Wikipedia page used in the...

As proposed in #211, I removed `wait_base.__radd__`. This allows other classes to define their own addition with wait conditions (stop conditions don't define reverse operations for `&` and `|` so...

I added a changelog entry as required.

I have noticed that I don't check types in `wait_chain` but I can't remember why.

I have added the check in `wait_chain`. I think it can't hurt.

Hum, I had the feeling that you were OK to merge this. Changed your mind ?

Please note that: - the modification is rather easy - I don't think this would raise compatibility issues (since any working code is not affected)

Maybe classes that combine wait conditions (`wait_combine` and `wait_chain`) or stop conditions (`stop_any` and `stop_all`) should perform such checks.

To give a bit of context, I was working on integrating tenacity in the [BioMAJ](https://biomaj.genouest.org/) software. The goal is to be able to configure BioMAJ with text files containing thinks...

I agree this goes against duck typing but in that case I hardly see how those operations could be extended. Also, I forgot to mention that `wait_combine(wait_random(1, 2), 4)` works...