This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2019-08-31.08:10:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567239029.01.0.244778819227.issue37994@roundup.psfhosted.org>
In-reply-to
Content
There are still sites in the CPython code where all errors of failed attribute lookup are silenced or overridden by other exception. This can hide such exceptions like MemoryError, RecursionError or KeyboardInterrupt and lead to incorrect result (as the attribute was just absent instead of looking it up was interrapted by side causes). Only AttributeError is expected to signal an absence of an attribute, and only it can be silenced.

The proposed PR fixes most of such cases.

There are still few sites where *all* errors are ignored (for example when report an error to the stderr or like), they should be considered separately.
History
Date User Action Args
2019-08-31 08:10:29serhiy.storchakasetrecipients: + serhiy.storchaka
2019-08-31 08:10:29serhiy.storchakasetmessageid: <1567239029.01.0.244778819227.issue37994@roundup.psfhosted.org>
2019-08-31 08:10:28serhiy.storchakalinkissue37994 messages
2019-08-31 08:10:28serhiy.storchakacreate