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 bwhmather
Recipients Nathaniel Manista, asvetlov, bquinlan, bwhmather, gregory.p.smith, pitrou
Date 2017-10-03.09:41:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507023663.82.0.213398074469.issue22729@psf.upfronthosting.co.za>
In-reply-to
Content
@Nathaniel
RE `remove_done_callback`:  This was added as an optimisation to allow the `as_completed` iterator to remove callbacks for future that it has visited instead of having to store a separate set of visited futures and ignore them when their callbacks are triggered.

This matches how the private waiters mechanism works.

It might be worth submitting the core of this change without `remove_done_callback` and then discussing it later as a separate optimisation.  I will experiment.
History
Date User Action Args
2017-10-03 09:41:03bwhmathersetrecipients: + bwhmather, gregory.p.smith, bquinlan, pitrou, asvetlov, Nathaniel Manista
2017-10-03 09:41:03bwhmathersetmessageid: <1507023663.82.0.213398074469.issue22729@psf.upfronthosting.co.za>
2017-10-03 09:41:03bwhmatherlinkissue22729 messages
2017-10-03 09:41:03bwhmathercreate