[issue1744752] Newline skipped in "for line in file" for huge file

2010-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I think there's actually a bug in the MSVCRT read() function, which was not too hard to spot (see explanation below). In short, a CRLF file opened in text mode may skip a newline after 4GB. I'm re-closing the issue as "won't fix". There's really nothin

[issue1744752] Newline skipped in "for line in file" for huge file

2010-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: We need a reproducible test before being able to go forward with this. At the very least, that would help isolate whether this is a build specific C library issue. -- nosy: +rhettinger resolution: -> invalid status: open -> closed __

[issue1744752] Newline skipped in "for line in file" for huge file

2010-09-17 Thread Mark Lawrence
Mark Lawrence added the comment: @Brian/Tim any thoughts on this? -- nosy: +BreamoreBoy, brian.curtin, tim.golden title: Newline skipped in "for line in file" -> Newline skipped in "for line in file" for huge file versions: +Python 3.1, Python 3.2 -Python 2.6 _