The DailyToken

asyncio.gather Raised at 0.5 s, Then 3 Tool Calls Still Ran

This story is from 2026-11-22. It is preserved in the archive; the latest stories are on the live feed.

When one awaitable in asyncio.gather() raises, gather hands you the exception right away but does not cancel the others, so they keep running and finish their side effects after your except block has already run; if one failed tool call should stop the batch, use asyncio.TaskGroup and catch Excepti…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-11-22 05:04 · DEV Community — AI
    asyncio.gather Raised at 0.5 s, Then 3 Tool Calls Still Ran

More stories

  1. OpenAI and Anthropic confirm AI models found weaknesses in internet cryptography — Anthropic (X)
  2. Alibaba releases Qwen4-35B-A3B, an open-weight MoE model with 1M-token context — Vercel Blog
  3. OpenAI tells staff revenue is now its North Star as annualized revenue reportedly hovers at $50B — Wall Street Journal Technology
  4. YouTube to exclude fully AI-generated songs from music subscription royalties — Financial Times AI
  5. MI6 chief warns of AI's 'catastrophic risks' and Russian 'cognitive warfare' — Financial Times AI
  6. DoorDash says hackers used AI tools to access user contact data — The Globe and Mail
  7. MI6 chief calls for AI crisis hotlines with China and pre-release model testing — Techmeme
  8. OpenAI says ad business hit $3B annualized run rate after Cyber Monday — Techmeme

Read the Daily Brief: the day's most important AI stories →