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 trott
Recipients trott
Date 2009-04-22.06:29:14
SpamBayes Score 5.0285194e-06
Marked as misclassified No
Message-id <1240381756.65.0.915481397022.issue5811@psf.upfronthosting.co.za>
In-reply-to
Content
Proposed patch to fix this:

set the default of n to 1 as stated by docs:

def _peek_unlocked(self, n=1):

return n bytes:

return self._read_buf[self._read_pos:self._read_pos+n]
History
Date User Action Args
2009-04-22 06:29:17trottsetrecipients: + trott
2009-04-22 06:29:16trottsetmessageid: <1240381756.65.0.915481397022.issue5811@psf.upfronthosting.co.za>
2009-04-22 06:29:14trottlinkissue5811 messages
2009-04-22 06:29:14trottcreate