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 cool-RR
Recipients cool-RR
Date 2020-06-05.17:00:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591376403.94.0.4038301694.issue40876@roundup.psfhosted.org>
In-reply-to
Content
I was working with the csv module, and I vaguely remembered that you should open files in binary mode. So I did.

Then I saw this error message:

    _csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)

I read the end and thought "I didn't open it in text mode, what does it want from me?!" It took a careful reading to figure out that I was *supposed to* open it in text mode.

I'm going to open a PR to slightly change the text to:

    _csv.Error: iterator should return strings, not bytes (the file should be opened in text mode)
History
Date User Action Args
2020-06-05 17:00:03cool-RRsetrecipients: + cool-RR
2020-06-05 17:00:03cool-RRsetmessageid: <1591376403.94.0.4038301694.issue40876@roundup.psfhosted.org>
2020-06-05 17:00:03cool-RRlinkissue40876 messages
2020-06-05 17:00:03cool-RRcreate