This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:25asvetlovsetrecipients: + asvetlov, yselivanov
2018-01-21 16:45:25asvetlovsetmessageid: <1516553125.63.0.467229070634.issue32610@psf.upfronthosting.co.za>
2018-01-21 16:45:25asvetlovlinkissue32610 messages
2018-01-21 16:45:25asvetlovcreate