The GIL and free-threading
mediumA timeline of who is executing bytecode, who is blocked on the GIL, and who is waiting on I/O. Run CPU-bound work with threads and only one row is ever green; switch on the free-threaded build (PEP 703) and the contention disappears without another line changing.
depends on workload and strategySpace O(workers)Read the questions this explains
Python-11-15
Python - Decorators, Context Managers, Monkey Patching, GIL, Concurrency
Python-41-45
Python - property decorators, weak references, memoization, asyncio & event loop, coroutines/tasks/futures
Python-46-50
Python - Concurrency (I/O vs CPU), async/await and awaitables, buffer protocol & memoryview, itertools & functools, CPython performance internals