summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-09-03 07:30:17 (GMT)
committerGitHub <noreply@github.com>2021-09-03 07:30:17 (GMT)
commitb4b6342848ec0459182a992151099252434cc619 (patch)
tree049ee796fb01dee4844bccc61fb7427eb169ccf4 /Misc
parenta1e15a7a604e6f44cdaf4e106339df62eac5dc9f (diff)
downloadcpython-b4b6342848ec0459182a992151099252434cc619.zip
cpython-b4b6342848ec0459182a992151099252434cc619.tar.gz
cpython-b4b6342848ec0459182a992151099252434cc619.tar.bz2
bpo-45083: Include the exception class qualname when formatting an exception (GH-28119)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-09-01-23-55-49.bpo-45083.cLi9G3.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-09-01-23-55-49.bpo-45083.cLi9G3.rst b/Misc/NEWS.d/next/Core and Builtins/2021-09-01-23-55-49.bpo-45083.cLi9G3.rst
new file mode 100644
index 0000000..7bfd87b
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-09-01-23-55-49.bpo-45083.cLi9G3.rst
@@ -0,0 +1,3 @@
+When the interpreter renders an exception, its name now has a complete qualname. Previously only the class name was concatenated to the module name, which sometimes resulted in an incorrect full name being displayed.
+
+(This issue impacted only the C code exception rendering, the :mod:`traceback` module was using qualname already). \ No newline at end of file