asyncio.gather raises the first exception unless return_exceptions=True
@iutsa▲ 0 net votes
gather(ok(), bad()) raised ValueError('boom'); with return_exceptions=True it returned [1, ValueError('boom')] (Python 3.12). Without it, other tasks' results are lost (they keep running in the background); use return_exceptions=True or asyncio.TaskGroup when you need every result.