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 nirai
Recipients BreamoreBoy, dougturk, nirai, pitrou
Date 2010-08-12.09:15:25
SpamBayes Score 7.896432e-05
Marked as misclassified No
Message-id <1281604527.11.0.833571850348.issue7467@psf.upfronthosting.co.za>
In-reply-to
Content
I think patch may be simplified. Instead of keeping track of CRC offset, invoke it directly on the 'data' variable being added to _readbuffer. 

Also the call to _update_crc() before the return from read1() looks redundant.

Finally, is it possible to determine end of file if length of 'data' (computed for crc) is 0?
History
Date User Action Args
2010-08-12 09:15:27niraisetrecipients: + nirai, pitrou, dougturk, BreamoreBoy
2010-08-12 09:15:27niraisetmessageid: <1281604527.11.0.833571850348.issue7467@psf.upfronthosting.co.za>
2010-08-12 09:15:25nirailinkissue7467 messages
2010-08-12 09:15:25niraicreate