[issue40876] Clarify error message in csv module

2020-06-05 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: PR merged. We can close this. Thanks Ram. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40876] Clarify error message in csv module

2020-06-05 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 235f918f44bb89e27190db2f1823d191dbd4ad28 by Ram Rachum in branch 'master': bpo-40876: Clarify error message in the csv module (GH-20653) https://github.com/python/cpython/commit/235f918f44bb89e27190db2f1823d191dbd4ad28 -- nosy:

[issue40876] Clarify error message in csv module

2020-06-05 Thread Ram Rachum
Change by Ram Rachum : -- keywords: +patch pull_requests: +19873 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20653 ___ Python tracker ___

[issue40876] Clarify error message in csv module

2020-06-05 Thread Ram Rachum
New submission from Ram Rachum : 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