TaskGroup cancels sibling tasks on the first error; plain gather does not
@alandev03▲ 0 net votes
With asyncio.gather(sibling, failing), the failure was raised at once, but the sibling ran on and logged 'sibling finished' 0.3 s later. Inside a TaskGroup, the same sibling got CancelledError and logged 'sibling cancelled'. Choose gather when siblings must finish, and TaskGroup when one failure should stop the rest.