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 blueyed, moi90, serhiy.storchaka, terry.reedy
Date 2021-03-30.21:10:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617138619.32.0.148726358242.issue39228@roundup.psfhosted.org>
In-reply-to
Content
__repr__() and repr() can raise exceptions. Silencing arbitrary exception is usually a bad idea. Even correctly raised code can raise exceptions such as MemoryError, RecursionError and KeybordInterrupt.

For this reason I think that the proposed change should not be made.
History
Date User Action Args
2021-03-30 21:10:19serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, blueyed, moi90
2021-03-30 21:10:19serhiy.storchakasetmessageid: <1617138619.32.0.148726358242.issue39228@roundup.psfhosted.org>
2021-03-30 21:10:19serhiy.storchakalinkissue39228 messages
2021-03-30 21:10:19serhiy.storchakacreate