Hacker News new | ask | show | jobs
by needusername 1837 days ago
> The GIL.

How does the the GIL prevent interleaving? My understanding is that if an "operation" takes several steps, eg. reading from a dict then IO or a C extension and finally writing to a dict the GIL will not make this atomic.