TIL

Python Coroutines

Exploring accidental synchronous blocking in asynchronous programming in Python with coroutines.

Python coroutines allow for asynchronous programming in a language that earlier in its history, has only supported synchronous execution. I've previously compared taking a synchronous approach in Python to a parallel approach in Go using channels. If you're familiar with async/await in JavaScript,...