You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
concurrent.futures.wait calls len() on an possible iterable #86104
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2020-10-05.02:02:57.246>labels= ['type-bug', 'library', '3.10']
title='concurrent.futures.wait calls len() on an possible iterable'updated_at=<Date2020-10-05.02:35:35.432>user='https://github.com/rohitkg98'
Activity
rohitkg98 commentedon Oct 5, 2020
fsargument could be an iterable, and calling len on it would raise an Exception.We are converting
fsinto a set anyways for set difference, and that too twice. we can just put anfs = set(fs).Let me know if we choose to go with that and I will make a PR ASAP.
Thanks.