Message209084
> Proposed patch for as_completed().
Could you please try to write a unit test. The unit test should fail without the patch, and fail with the patch. Then create a new patch including the patch.
If it's tricky to write a reliable test reproducing the race condition, you can use unittest.mock to mock some objects. |
|
Date |
User |
Action |
Args |
2014-01-24 14:28:54 | vstinner | set | recipients:
+ vstinner, gvanrossum, tim.peters, mark.dickinson, glangford |
2014-01-24 14:28:54 | vstinner | set | messageid: <1390573734.3.0.250519296499.issue20367@psf.upfronthosting.co.za> |
2014-01-24 14:28:54 | vstinner | link | issue20367 messages |
2014-01-24 14:28:54 | vstinner | create | |
|