[issue45083] Need to use the exception class qualname when rendering exception (in C code)

Serhiy Storchaka report at bugs.python.org
Thu Sep 9 06:12:42 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

"{__module__}.{__name__}" is just incorrect reference if __name__ != __qualname__. Error messages should always use "{__module__}.{__qualname__}" or just "{__name__}". I see this as a bug. Fortunately very few code is affected.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45083>
_______________________________________


More information about the Python-bugs-list mailing list