summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2021-11-18 00:28:04 (GMT)
committerGitHub <noreply@github.com>2021-11-18 00:28:04 (GMT)
commit8eabe60108b536b942c791b5d3dc3c3020497aac (patch)
treeadce6c0393125f815bb78868611d0a493ebce79f /Misc/NEWS.d
parent563e45875a7623fc06a0fc990099b32855082b68 (diff)
downloadcpython-8eabe60108b536b942c791b5d3dc3c3020497aac.zip
cpython-8eabe60108b536b942c791b5d3dc3c3020497aac.tar.gz
cpython-8eabe60108b536b942c791b5d3dc3c3020497aac.tar.bz2
[3.10] bpo-45826: Fix a crash in suggestions.c by checking for `traceback is None` (GH-29590) (GH-29602)
(cherry picked from commit 5d90c467c02ffefdb13c1abc83a171db1a99ffad) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-11-17-08-05-27.bpo-45826.OERoTm.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-11-17-08-05-27.bpo-45826.OERoTm.rst b/Misc/NEWS.d/next/Core and Builtins/2021-11-17-08-05-27.bpo-45826.OERoTm.rst
new file mode 100644
index 0000000..f04373b
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-11-17-08-05-27.bpo-45826.OERoTm.rst
@@ -0,0 +1 @@
+Fixed a crash when calling ``.with_traceback(None)`` on ``NameError``. This occurs internally in ``unittest.TestCase.assertRaises()``. \ No newline at end of file