Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Python
/
asyncio
What normally happens when one child in an active TaskGroup raises ValueError?
from asyncio
Python 3.14
intermediate
1 min
What normally happens when one child in an active TaskGroup raises ValueError?
The group cancels unfinished siblings, waits for them, then raises an exception group.
The group returns the ValueError as an ordinary result and leaves siblings untouched.
The event loop stops immediately without running any finally blocks.
Check
Ask AI about this kata
Report an error
previous kata
Spot the bug in the async job batch
Spot the bug
next kata
Where should code catch the TimeoutError produced by asyncio.timeout()?
Quiz
A new version is available
Reload