diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-06-22 08:21:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 08:21:59 (GMT) |
commit | c88239f864a27f673c0f0a9e62d2488563f9d081 (patch) | |
tree | b60c7378df76eef6f7924956a4cf5883f11cbdd9 /Misc | |
parent | cafe1b6e9d3594a34aba50e872d4198296ffaadf (diff) | |
download | cpython-c88239f864a27f673c0f0a9e62d2488563f9d081.zip cpython-c88239f864a27f673c0f0a9e62d2488563f9d081.tar.gz cpython-c88239f864a27f673c0f0a9e62d2488563f9d081.tar.bz2 |
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().
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-05-30-14-19-47.bpo-26407.MjWLO1.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-05-30-14-19-47.bpo-26407.MjWLO1.rst b/Misc/NEWS.d/next/Library/2020-05-30-14-19-47.bpo-26407.MjWLO1.rst new file mode 100644 index 0000000..d0e45cf --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-05-30-14-19-47.bpo-26407.MjWLO1.rst @@ -0,0 +1,3 @@ +Unexpected errors in calling the ``__iter__`` method are no longer masked +by ``TypeError`` in :func:`csv.reader`, :func:`csv.writer.writerow` and +:meth:`csv.writer.writerows`. |