This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author conf
Recipients benjamin.peterson, conf, ncoghlan, pitrou, trott
Date 2009-06-15.05:21:05
SpamBayes Score 0.0033965218
Marked as misclassified No
Message-id <1245043271.77.0.842433821515.issue5811@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that passes all the tests (I had to change some of them
though, they were expecting erroneous behaviours IMHO).
The biggest problem was the read1 testing, I've tried to get the maximum
of bytes less than or equal to what the user wanted while executing at
most 1 raw_read()'s.

I have created a new test for peek()'ing a number of bytes bigger than
could possibly be stored on the buffer.
History
Date User Action Args
2009-06-15 05:21:12confsetrecipients: + conf, ncoghlan, pitrou, benjamin.peterson, trott
2009-06-15 05:21:11confsetmessageid: <1245043271.77.0.842433821515.issue5811@psf.upfronthosting.co.za>
2009-06-15 05:21:10conflinkissue5811 messages
2009-06-15 05:21:09confcreate