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 ncoghlan
Recipients SilentGhost, barry, mb_, ncoghlan, rhettinger, yselivanov
Date 2016-08-20.18:07:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471716424.93.0.43633864592.issue27814@psf.upfronthosting.co.za>
In-reply-to
Content
It's the "really common problem" assertion that I'm disputing - when particular instances of "catch this exception, but not these ones" become common, we tend to *change the standard exception hierarchy* to eliminate them (e.g. StopIteration, KeyboardError, GeneratorExit no longer inheriting from Exception).

So if you have new cases where that's happening frequently for you (presumably as a result of the https://www.python.org/dev/peps/pep-3151/ reworking of the OSError hierarchy, given the documented examples), then it would be better to take that *problem* to python-ideas for discussion and brainstorming, before coming back to the issue tracker to propose a possible solution (whether that's changing the hierarchy, enhancing contextlib.suppress, or doing something else)
History
Date User Action Args
2016-08-20 18:07:04ncoghlansetrecipients: + ncoghlan, barry, rhettinger, SilentGhost, yselivanov, mb_
2016-08-20 18:07:04ncoghlansetmessageid: <1471716424.93.0.43633864592.issue27814@psf.upfronthosting.co.za>
2016-08-20 18:07:04ncoghlanlinkissue27814 messages
2016-08-20 18:07:04ncoghlancreate