]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-26407: Do not mask errors in csv. (GH-20536)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 22 Jun 2020 08:40:54 +0000 (01:40 -0700)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2020 08:40:54 +0000 (01:40 -0700)
commit5606d555b6e797625be9b0368472a86d8ad5252e
treebcc432e62ba4dd1768f0c699ca0bb26262c5a549
parent353c4bab7d103cb66391a83f3c27cd75ae13a754
bpo-26407: Do not mask errors in csv. (GH-20536)

Unexpected errors in calling the __iter__ method are no longer
masked by TypeError in csv.reader(), csv.writer.writerow() and
csv.writer.writerows().
(cherry picked from commit c88239f864a27f673c0f0a9e62d2488563f9d081)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_csv.py
Misc/NEWS.d/next/Library/2020-05-30-14-19-47.bpo-26407.MjWLO1.rst [new file with mode: 0644]
Modules/_csv.c