[docs] [issue24195] Add `Executor.filter` to concurrent.futures
report at bugs.python.org
Sat Jun 6 17:30:54 CEST 2015
Ram Rachum added the comment:
A problem I just realized with Brian's 2-line implementation of `filter`: It doesn't work for iterables which aren't sequences, since it attempts to exhaust the iterable twice. So if you have a non-sequence you'll have to make it into a sequence first.
Python tracker <report at bugs.python.org>
More information about the docs