Message226876
| Author | serhiy.storchaka |
|---|
| Recipients | Aivar.Annamaa, serhiy.storchaka, terry.reedy |
|---|
| Date | 2014-09-14.16:43:38 |
|---|
| SpamBayes Score | -1.0 |
|---|
| Marked as misclassified | Yes |
|---|
| Message-id | <1410713018.43.0.441321964688.issue22384@psf.upfronthosting.co.za> |
|---|
| In-reply-to | |
|---|
| Content |
|---|
Error messages are already silenced if sys.stderr is None or closed.>>> sys.stderr.close()>>> 1/0>>> >>> sys.stderr = None>>> 1/0>>> I think that such things as _Errbox are application level solutions. report_callback_exception() is designed to be overwritten for this purpose. Application can decide to pop up message box always, not only when sys.stderr is None, or tracebacks to a log, or add application icon and scrollbar on message box, or output error on special area on main windows.Definitely it would be good to add something like _Errbox to IDLE. But this will be other issue. This issue is only about "crashing" of default implementation, and if my patch fixes it, I want to commit it and close the issue. |
| History |
|---|
| Date | User | Action | Args |
|---|
| 2014-09-14 16:43:38 | serhiy.storchaka | set | recipients: +serhiy.storchaka,terry.reedy,Aivar.Annamaa | | 2014-09-14 16:43:38 | serhiy.storchaka | set | messageid: <1410713018.43.0.441321964688.issue22384@psf.upfronthosting.co.za> | | 2014-09-14 16:43:38 | serhiy.storchaka | link | issue22384 messages | | 2014-09-14 16:43:38 | serhiy.storchaka | create | |
|