homepage

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 <1538685493.67.0.545547206417.issue34801@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018年10月04日 20:38:13naschemesetrecipients: + nascheme, xtreak
2018年10月04日 20:38:13naschemesetmessageid: <1538685493.67.0.545547206417.issue34801@psf.upfronthosting.co.za>
2018年10月04日 20:38:13naschemelinkissue34801 messages
2018年10月04日 20:38:13naschemecreate

AltStyle によって変換されたページ (->オリジナル) /