[Python-Dev] io.BufferedReader.peek() Behaviour in python3.1 (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sun Jun 14 02:35:16 CEST 2009


Greg Ewing <greg.ewing canterbury.ac.nz> writes:

I think it would be more useful if the "at most one raw read" part were dropped. That would give it the kind of deterministic behaviour generally expected when dealing with buffered streams.

As I already told Nick: please propose an implementation scheme.

Antoine.



More information about the Python-Dev mailing list