lilydjwg <lilyd...@gmail.com> added the comment:

Oh, I find that many exceptions return an empty string when created without any 
arguments, but most raised ones do have a descriptive error message.

Yes, if it's going to change, we'd change all of them. But now I doubt if it's 
worth the effort... What if we change so that if the exception were going to 
return an empty string, it returns the class name instead?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45671>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to