Hacker News new | ask | show | jobs
by agf 3437 days ago
Why do you think the `for` loop form loads the whole stream? That shouldn't be true, since `for` just calls `iter` on the object internally, and normal file-like objects by default are iterated line-by-line.

If you saw the migration guide but found it incomplete, you should edit your post to say that rather than saying there isn't one.