Message310378
| Author |
asvetlov |
| Recipients |
asvetlov, yselivanov |
| Date |
2018-01-21.16:45:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1516553125.63.0.467229070634.issue32610@psf.upfronthosting.co.za> |
| In-reply-to |
|
| Content |
Current behavior has a subtle pitfall.
The function returns a list of *existing* tasks (not removed by decref or explicit call).
If user's code has a strong reference to some task the task will be in return list for unpredictable amount of time, even if the task was done.
Returning only *alive* tasks can make a function result more predictable (`not task.done()`).
Opinions? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018-01-21 16:45:25 | asvetlov | set | recipients:
+ asvetlov, yselivanov |
| 2018-01-21 16:45:25 | asvetlov | set | messageid: <1516553125.63.0.467229070634.issue32610@psf.upfronthosting.co.za> |
| 2018-01-21 16:45:25 | asvetlov | link | issue32610 messages |
| 2018-01-21 16:45:25 | asvetlov | create | |
|