Message208960
For a Future f which has already completed,
wait( [f,f], return_when=ALL_COMPLETED )
blocks forever.
This is because the test in wait():
if len(done) == len(fs)
is comparing the length of a set to the length of a list.
If f has not completed, wait( [f,f] ) will yield f once. The behaviour should be consistent with as_completed() - see issue #20367. |
|
| Date |
User |
Action |
Args |
| 2014-01-23 15:33:51 | glangford | set | recipients:
+ glangford, tim.peters, mark.dickinson, vstinner |
| 2014-01-23 15:33:51 | glangford | set | messageid: <[email protected]> |
| 2014-01-23 15:33:51 | glangford | link | issue20369 messages |
| 2014-01-23 15:33:51 | glangford | create | |
|