summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.10.rst
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-06-18 22:08:38 (GMT)
committerGitHub <noreply@github.com>2021-06-18 22:08:38 (GMT)
commit83c9dad8da5fc90b717eef683304aaa49448615a (patch)
treeb3cd833ede85491eda34f8ee7da85b439b98d6e5 /Doc/whatsnew/3.10.rst
parentf60b07ab6c943fce084772c3c7731ab3bbd213ff (diff)
downloadcpython-83c9dad8da5fc90b717eef683304aaa49448615a.zip
cpython-83c9dad8da5fc90b717eef683304aaa49448615a.tar.gz
cpython-83c9dad8da5fc90b717eef683304aaa49448615a.tar.bz2
Add a note about NameError/AttributeError suggestions with custom error functions (GH-26794)
Diffstat (limited to 'Doc/whatsnew/3.10.rst')
-rw-r--r--Doc/whatsnew/3.10.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 9b9dd31..c459257 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -345,6 +345,11 @@ raised from:
(Contributed by Pablo Galindo in :issue:`38530`.)
+ .. warning::
+ Notice this won't work if :c:func:`PyErr_Display` is not called to display the error
+ which can happen if some other custom error display function is used. This is a common
+ scenario in some REPLs like IPython.
+
NameErrors
~~~~~~~~~~
@@ -362,6 +367,12 @@ was raised from:
(Contributed by Pablo Galindo in :issue:`38530`.)
+ .. warning::
+ Notice this won't work if :c:func:`PyErr_Display` is not called to display the error,
+ which can happen if some other custom error display function is used. This is a common
+ scenario in some REPLs like IPython.
+
+
PEP 626: Precise line numbers for debugging and other tools
-----------------------------------------------------------