Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.2k Views5.3k Upvotes
34 easy83 med22 hard
Medium
12 questionsWhat is a race condition and how do locks prevent it?
DSA ยท 1.2k views ยท threading, race-condition, locks
Views:1.2kLikes:76
How do you run external commands with subprocess safely?
Backend ยท 1.0k views ยท subprocess, security
Views:1.0kLikes:70
How does exception propagation work up the call stack?
DSA ยท 773 views ยท exceptions, propagation
Views:773Likes:2
When do you use threading, multiprocessing, or asyncio?
DSA ยท 739 views ยท concurrency
Views:739Likes:11
What is asyncio.TaskGroup and why does it replace gather?
Backend ยท 732 views ยท asyncio, taskgroup
Views:732Likes:73
How does yield from delegation work?
DSA ยท 707 views ยท generators, yield-from
Views:707Likes:3
What is a deadlock in Python?
DSA ยท 694 views ยท threading, deadlock
Views:694Likes:70
How do you raise and split ExceptionGroups manually?
Backend ยท 551 views ยท exceptions, exceptiongroup, asyncio
Views:551Likes:67
Hard
6 questionsWhat is an async iterator and async for?
DSA ยท 954 views ยท async, async-iterator
Views:954Likes:58
How does TaskGroup handle cancellation and ExceptionGroup?
Backend ยท 852 views ยท asyncio, exceptiongroup, cancellation
Views:852Likes:6
What is TypeVarTuple and Unpack for variadic generics?
DSA ยท 579 views ยท typing, typevartuple, generics
Views:579Likes:62
What is the difference between a generator and a coroutine?
DSA ยท 546 views ยท generators, coroutines
Views:546Likes:33
How does the asyncio event loop schedule coroutines?
DSA ยท 465 views ยท asyncio, event-loop
Views:465Likes:20
How does async/await work in Python?
DSA ยท 141 views ยท async, asyncio
Views:141Likes:52
Seen a Python question that is not here? Add it and help the next candidate.
Share a question