Movatterモバイル変換


[0]ホーム

URL:


homepage

Message226876

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorserhiy.storchaka
RecipientsAivar.Annamaa, serhiy.storchaka, terry.reedy
Date2014-09-14.16:43:38
SpamBayes Score-1.0
Marked as misclassifiedYes
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
DateUserActionArgs
2014-09-14 16:43:38serhiy.storchakasetrecipients: +serhiy.storchaka,terry.reedy,Aivar.Annamaa
2014-09-14 16:43:38serhiy.storchakasetmessageid: <1410713018.43.0.441321964688.issue22384@psf.upfronthosting.co.za>
2014-09-14 16:43:38serhiy.storchakalinkissue22384 messages
2014-09-14 16:43:38serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp