Python
Language internals, patterns, and production tips
Python
intermediate
How Python Manages Memory
A walk through Python's memory model: heap objects, reference counting, cyclic GC, pymalloc arenas, and the trashcan that prevents stack overflows during cleanup.
Python
intermediate
How Python Threads Learned to Share All Your CPU Cores — Safely
The engineering behind free-threaded Python: four techniques (no-lock, atomics, per-object locks, stop-the-world GC) that let CPython drop the GIL without slowing single-threaded code down.