News for hackers. Stuff that matters.
Re:Don’t Slurp: How to Read Files in Python by gcr on Saturday September 28, 2013 @06:59PM (#6463428)
I thought a function that reads a line from a file would read the entire line and block until doing so. How would turning off line buffering change that? Do you expect 'for line in file' to yield as many bytes as is available if a full line can't be read yet?

There are no comments on this comment yet.