]> 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)
committerNed Deily <nad@python.org>
Tue, 3 Oct 2017 00:32:03 +0000 (20:32 -0400)
commit2e3fd03796528a9f88f79d38e1d890af153c8e61
tree8d684e889321489d0183d8f10f8d62a4d887ea10
parenta74ce09c738c3e3aa89994bf31049cb914dca389
[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