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 pitrou
Recipients BreamoreBoy, dougturk, pitrou
Date 2010-08-09.21:14:47
SpamBayes Score 0.002291462
Marked as misclassified No
Message-id <1281388489.1.0.962251701102.issue7467@psf.upfronthosting.co.za>
In-reply-to
Content
Actually, there are two places where the internal buffer is trimmed from consumed data:

            self._readbuffer = self._readbuffer[self._offset:] + data
            self._offset = 0

At this point, it seems self._crc_offset should also be reset to zero, otherwise some data will be forgotten on the next read() call.
History
Date User Action Args
2010-08-09 21:14:49pitrousetrecipients: + pitrou, dougturk, BreamoreBoy
2010-08-09 21:14:49pitrousetmessageid: <1281388489.1.0.962251701102.issue7467@psf.upfronthosting.co.za>
2010-08-09 21:14:47pitroulinkissue7467 messages
2010-08-09 21:14:47pitroucreate