Why can’t you pickle generators in Python? A pattern for saving training state | Hacker News Reader