Representing State Machines with Co-Routines in Python | Hacker News Reader