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 Joel Croteau
Recipients Joel Croteau, Mark Borgerding, eric.snow, giampaolo.rodola, pablogsal, pitrou, pmpp, rhettinger, tim.peters
Date 2019-10-29.18:21:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572373311.75.0.200258436688.issue36666@roundup.psfhosted.org>
In-reply-to
Content
I'm kind of in agreement with Mark on this, actually. I came across this problem when examining some threaded code that was clearly not working as intended, but was reporting success. Figuring out why that was was not easy. The code had been hastily ported to a multi-threaded version from an iterative version by my predecessor, and neither of us had enough familiarity with Python threads to realize what the problem was. The whole point of having exceptions is that it gives you a way of knowing when errors happen without having to add a bunch of extra error checking to your own code. It rather defeats the purpose if code can silently fail while still throwing exceptions, and we have to add extra code to handle special cases like this where they are ignored.
History
Date User Action Args
2019-10-29 18:21:51Joel Croteausetrecipients: + Joel Croteau, tim.peters, rhettinger, pitrou, giampaolo.rodola, pmpp, eric.snow, pablogsal, Mark Borgerding
2019-10-29 18:21:51Joel Croteausetmessageid: <1572373311.75.0.200258436688.issue36666@roundup.psfhosted.org>
2019-10-29 18:21:51Joel Croteaulinkissue36666 messages
2019-10-29 18:21:51Joel Croteaucreate