]> granicus.if.org Git - python/commit
bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (#3830)
authorŁukasz Langa <lukasz@langa.pl>
Fri, 29 Sep 2017 21:33:34 +0000 (14:33 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2017 21:33:34 +0000 (14:33 -0700)
commit574562c5ddb2f0429aab9af762442e6f9a3f26ab
treef96b2636a2c5046e6b232e42011d8f509d69bdc7
parent01c6a8859ef2ff5545a87cf537573bd342c848bf
bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (#3830)

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.
Lib/concurrent/futures/_base.py
Lib/test/test_concurrent_futures.py