Message208960
| Author | glangford |
|---|---|
| Recipients | glangford, mark.dickinson, tim.peters, vstinner |
| Date | 2014-01-23.15:33:51 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1390491231.67.0.503348563079.issue20369@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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: <1390491231.67.0.503348563079.issue20369@psf.upfronthosting.co.za> |
| 2014-01-23 15:33:51 | glangford | link | issue20369 messages |
| 2014-01-23 15:33:51 | glangford | create | |