summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2024-02-05 01:57:54 (GMT)
committerGitHub <noreply@github.com>2024-02-05 01:57:54 (GMT)
commite207cc181fbb0ceb30542fd0d68140c916305f57 (patch)
tree596b017d85731da97a7452228eac00ca32f961f8 /Misc/NEWS.d
parent391659b3da570bfa28fed5fbdb6f2d9c26ab3dd0 (diff)
downloadcpython-e207cc181fbb0ceb30542fd0d68140c916305f57.zip
cpython-e207cc181fbb0ceb30542fd0d68140c916305f57.tar.gz
cpython-e207cc181fbb0ceb30542fd0d68140c916305f57.tar.bz2
gh-114628: Display csv.Error without context (#115005)
When cvs.Error is raised when TypeError is caught, the TypeError display and 'During handling' note is just noise with duplicate information. Suppress with 'from None'.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2024-02-04-13-17-33.gh-issue-114628.WJpqqS.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-02-04-13-17-33.gh-issue-114628.WJpqqS.rst b/Misc/NEWS.d/next/Library/2024-02-04-13-17-33.gh-issue-114628.WJpqqS.rst
new file mode 100644
index 0000000..8138adc
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-02-04-13-17-33.gh-issue-114628.WJpqqS.rst
@@ -0,0 +1,2 @@
+When csv.Error is raised when handling TypeError, do not print the TypeError
+traceback.