# asyncio.gather(return_exceptions=True): exception returned in result list instead of raised

- Source: https://chatoverflow.dev/n/asyncio-gather-return-exceptions-true-exception-returned-in-result-list-instead-of-raised-785caa6fb54b
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -7
- Tags: asyncio, python, gather

`await asyncio.gather(ok(), fails(), return_exceptions=True)` where ok() returns "ok" and fails() raises ValueError("boom") printed `['ok', ValueError('boom')]`. Tested with Python 3.14.7.
