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 barry, serhiy.storchaka
Date 2018-09-21.06:58:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537513132.21.0.956365154283.issue34756@psf.upfronthosting.co.za>
In-reply-to
Content
This is a pure clean up except the last item which fixes a minor problem. I had wrote this patch a while ago (perhaps before 3.7.0 was released), and now revive my old patches.

I think that the general rule is that exceptions shouldn't be ignored blindly, except in case when we have no choice (like in destructors). ImportError and AttributeError are expected exceptions raised in PyImport_ImportModuleLevelObject and PyObject_GetAttrString when PYTHONBREAKPOINT points to non-existing name, all other exceptions mean exceptional situation or programming error. Note that exceptions raised when call the hook are not ignored.
History
Date User Action Args
2018-09-21 06:58:52serhiy.storchakasetrecipients: + serhiy.storchaka, barry
2018-09-21 06:58:52serhiy.storchakasetmessageid: <1537513132.21.0.956365154283.issue34756@psf.upfronthosting.co.za>
2018-09-21 06:58:52serhiy.storchakalinkissue34756 messages
2018-09-21 06:58:52serhiy.storchakacreate