SIGN IN SIGN UP

gh-155852: Do not cancel remaining Executor.map calls on a callable's TimeoutError (GH-155853)

A TimeoutError raised by the mapped callable was re-raised like the
map(timeout=...) wait timeout, aborting the iteration and cancelling the
remaining calls, unlike every other exception since gh-108518. A wait timeout
only occurs while the future is still running, so a TimeoutError from an
already-finished future is treated as the callable's own result.
T
tonghuaroot (童话) committed
a8e1d25355004ba8790e34dbf7fb5268674e7f08
Parent: b6c11fe
Committed by GitHub <noreply@github.com> on 8/17/2026, 12:44:40 PM