Re: [Python-Dev] io.BufferedReader.peek() Behaviour in python3.1

2009-06-16 Thread Frederick Reeve
On Sat, 13 Jun 2009 12:33:46 + (UTC) Antoine Pitrou wrote: > This proposal looks reasonable to me. Please note that it's too late for 3.1 > anyway - we're in release candidate phase. Once you have a patch, you can post > it on the bug tracker. Thanks I will do that. Sometime in the next cou

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

2009-06-12 Thread Frederick Reeve
tion. If the buffer contents is less than n, buffer an additional chunk from the "raw" stream before hand. If EOF is encountered during any raw read then return as much as we can up to n. (maybe I should write that in code form??) Thanks Frederick Reeve

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

2009-06-10 Thread Frederick Reeve
side of parsers, so speed in read-through and random reads would not have to be affected. I have other reasons and arguments, but I want to know what every one else thinks. This will most likely show me what I have missed or am not seeing, if anything. Please I have babbled enough. Thanks so m