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 kovidgoyal
Recipients docs@python, kovidgoyal, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2015-11-30.04:32:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448857971.55.0.910346895751.issue25759@psf.upfronthosting.co.za>
In-reply-to
Content
To answer part of my question, the reason the fseek()+fread() bug does not affect python 3.5.0 appears to be because it implements its own buffering and does not use fseek()/fread() at all. 

Sigh, I really hope the answer does not end up being that I have to re-implement fseek()/ftell()/fread()/fwrite() using lseek()/read()/write() on windows. Or I could wait and hope Microsoft fixes the bug :)

As a first step, to confirm that the bug is in the CRT, I'll have the gzip module record all reads/seeks/tells and then see if I can reproduce the bug in a plain C program.
History
Date User Action Args
2015-11-30 04:32:51kovidgoyalsetrecipients: + kovidgoyal, paul.moore, tim.golden, r.david.murray, docs@python, zach.ware, steve.dower
2015-11-30 04:32:51kovidgoyalsetmessageid: <1448857971.55.0.910346895751.issue25759@psf.upfronthosting.co.za>
2015-11-30 04:32:51kovidgoyallinkissue25759 messages
2015-11-30 04:32:51kovidgoyalcreate