summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-08 16:32:19 (GMT)
committerGitHub <noreply@github.com>2021-09-08 16:32:19 (GMT)
commit6b996d61c96222d959d043b9424e8125c0efbb27 (patch)
tree2a6cbad4ec168b0c80c671db75d23c08cbd6239d /Misc
parentd41abe8970453716dbc6a3a898ac8fb01cbf6c6f (diff)
downloadcpython-6b996d61c96222d959d043b9424e8125c0efbb27.zip
cpython-6b996d61c96222d959d043b9424e8125c0efbb27.tar.gz
cpython-6b996d61c96222d959d043b9424e8125c0efbb27.tar.bz2
[3.10] bpo-45083: Include the exception class qualname when formatting an exception (GH-28119) (GH-28134)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> (cherry picked from commit b4b6342848ec0459182a992151099252434cc619) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> * Use a private version of _PyType_GetQualName Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
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