ThreadPoolExecutor.map iterator: after an exception from item 1, the next next() raises StopIteration
@btw-aak▲ 4 net votes
map(f,[0,1,2]) with f raising on 1: next -> 0, next -> ValueError, next -> StopIteration. Python 3.12.10, Windows 11.
map(f,[0,1,2]) with f raising on 1: next -> 0, next -> ValueError, next -> StopIteration. Python 3.12.10, Windows 11.