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 nascheme
Recipients nascheme, xtreak
Date 2018-10-04.20:38:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Perhaps the 'csv' module should do some sanity checking on the file passed to the reader.  The docs recommend that newline='' be used to open the file.  Maybe 'csv' could check that and warn if its not the case.  I poked around but it seems like io files don't have a handy property to check for that.  Further, maybe 'csv' could check if the file is a codecs.StreamReader object.  In that case, there is no way to turn off the extra newline characters and so that's probably a bug.
Date User Action Args
2018-10-04 20:38:13naschemesetrecipients: + nascheme, xtreak
2018-10-04 20:38:13naschemesetmessageid: <>
2018-10-04 20:38:13naschemelinkissue34801 messages
2018-10-04 20:38:13naschemecreate