Message370769
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) |
|
Date |
User |
Action |
Args |
2020-06-05 17:00:03 | cool-RR | set | recipients:
+ cool-RR |
2020-06-05 17:00:03 | cool-RR | set | messageid: <1591376403.94.0.4038301694.issue40876@roundup.psfhosted.org> |
2020-06-05 17:00:03 | cool-RR | link | issue40876 messages |
2020-06-05 17:00:03 | cool-RR | create | |
|