]> granicus.if.org Git - python/commit
[3.6] bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 29 Sep 2017 22:07:01 +0000 (15:07 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Fri, 29 Sep 2017 22:07:01 +0000 (15:07 -0700)
commit9ef28b6ad3d5aff767e3d852499def8b5ae5ff5d
treed801ff4ba3fa54a887e792a2d2364310be6ef6b1
parent66c2b9f13ef2197a5212fd58372173124df76467
[3.6] bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (GH-3830) (#3831)

This was possible before.  GH-1560 introduced a regression after 3.6.2 got
released where only sequences were accepted now.  This commit addresses this
problem.
(cherry picked from commit 574562c5ddb2f0429aab9af762442e6f9a3f26ab)
Lib/concurrent/futures/_base.py
Lib/test/test_concurrent_futures.py