Message194442
I've been thinking about returning a list on "wait_for_any", but that way you will not be able to implement "wait_for" using it!
"wait_for" will return False on timeouts while "wait_for_any" will return a list with some conditions(evaluates to True).
Also, "wait_for" will show the result of the predicate when there's no timeout. It may clash with the boolean value of the list in some cases.
Suggestions? |
|
Date |
User |
Action |
Args |
2013-08-05 00:17:29 | JBernardo | set | recipients:
+ JBernardo, rhettinger, pitrou, neologix, sbt |
2013-08-05 00:17:28 | JBernardo | set | messageid: <1375661848.79.0.00989851660229.issue18078@psf.upfronthosting.co.za> |
2013-08-05 00:17:28 | JBernardo | link | issue18078 messages |
2013-08-05 00:17:27 | JBernardo | create | |
|