[3.6] bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (GH-3830) by miss-islington · Pull Request #3831 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[3.6] bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_…
…completed()` (GH-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.
(cherry picked from commit 574562c)
  • Loading branch information
ambv authored and miss-islington committed Sep 29, 2017
commit 0bb2c925decfd03570f76bea44925fb3868f9892
3 changes: 1 addition & 2 deletions Lib/concurrent/futures/_base.py
6 changes: 5 additions & 1 deletion Lib/test/test_concurrent_futures.py