Slide 69
Slide 69 text
asyncio.gather - return_exceptions ࢦఆ͋Γ
$ python310 2_asyncio_gather_except_true.py
async def main():
"""return_exceptions=True͋Γ"""
results = await asyncio.gather(
coro_success(), coro_value_err(), coro_type_err(),
return_exceptions=True)
print(f"{results=}")
results=['ޭ', ValueError(), TypeError()]
$ python310
ಉ࣌ʹൃੜ͢Δྫ֎ͷัଊ