Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: issue1744752 describes why it's probably a bug in the C library. possible workarounds are to open the files in universal mode, to use io.open(), or to switch to python 3!
---------- nosy: +amaury.forgeotdarc resolution: -> wont fix status: open -> closed superseder: -> Newline skipped in "for line in file" for huge file _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1451466> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com