Author serhiy.storchaka
Recipients BTaskaya, serhiy.storchaka, terry.reedy
Date 2020-04-04.21:41:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
All works as expected to me. Your __class__ attribute raise an arbitrary exception, and it is expected, that the code which uses it passes it to you.

I am against silencing all exceptions. It may hide bugs.

It is even documented. See What's New in Python 3.8:

* The CPython interpreter can swallow exceptions in some circumstances.
  In Python 3.8 this happens in fewer cases.  In particular, exceptions
  raised when getting the attribute from the type dictionary are no longer
  ignored. (Contributed by Serhiy Storchaka in :issue:`35459`.)
Date User Action Args
2020-04-04 21:41:52serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, BTaskaya
2020-04-04 21:41:52serhiy.storchakasetmessageid: <>
2020-04-04 21:41:52serhiy.storchakalinkissue40180 messages
2020-04-04 21:41:52serhiy.storchakacreate