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
/
Python
On a standard GIL-enabled CPython build, which default choice best matches the workload?
from Python
intermediate
1 min
On a standard GIL-enabled CPython build, which default choice best matches the workload?
Threads for overlapping blocking I/O; processes for parallel pure-Python CPU work
Threads for parallel pure-Python CPU work; processes only for sleeping
Always asyncio, because it automatically moves CPU work to other cores
Check
Ask AI about this kata
Report an error
previous kata
What normally happens when one child in an active asyncio.TaskGroup raises ValueError?
Quiz
A new version is available
Reload