Matthew Barnett added the comment: I split the file into sections, each containing no more 1000 lines, and tried reading each section. Attached is a zip file of those that didn't return the expected number of rows.
The problem appears to be due to unclosed quotes, which cause following lines to be consumed as part of the field. It looks a little strange, so I wonder if the file has got corrupted somewhere. ---------- nosy: +mrabarnett Added file: http://bugs.python.org/file45395/allCountries_sections.zip _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28642> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com