summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorBatuhan Taskaya <isidentical@gmail.com>2022-10-31 13:27:13 (GMT)
committerGitHub <noreply@github.com>2022-10-31 13:27:13 (GMT)
commita41de32942b7ac14524587a08d219f3bfe346415 (patch)
tree4e2588b1dece4bcb370c9c2f5a13a872b77d5575 /Misc/NEWS.d
parent39448adc9db0c0444443a42f13a9d7e1441b88e8 (diff)
downloadcpython-a41de32942b7ac14524587a08d219f3bfe346415.zip
cpython-a41de32942b7ac14524587a08d219f3bfe346415.tar.gz
cpython-a41de32942b7ac14524587a08d219f3bfe346415.tar.bz2
gh-98878: Use builtins from the bound frame when offering a suggestion (#98880)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2022-10-30-22-42-48.gh-issue-98878.fgrykp.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-30-22-42-48.gh-issue-98878.fgrykp.rst b/Misc/NEWS.d/next/Library/2022-10-30-22-42-48.gh-issue-98878.fgrykp.rst
new file mode 100644
index 0000000..e83422a
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-10-30-22-42-48.gh-issue-98878.fgrykp.rst
@@ -0,0 +1,2 @@
+Use the frame bound builtins when offering a name suggestion in
+:mod:`traceback` to prevent crashing when ``__builtins__`` is not a dict.