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 Dennis Sweeney
Recipients Dennis Sweeney, pablogsal, shreyanavigyan, terry.reedy
Date 2021-05-04.08:43:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620117797.48.0.960616220475.issue44026@roundup.psfhosted.org>
In-reply-to
Content
Indeed, this change enables the feature for IDLE, though I'm not sure what it breaks.

diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index 07e9a2bf9c..319b16f311 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -569,7 +569,7 @@ def runcode(self, code):
             self.user_exc_info = sys.exc_info()  # For testing, hook, viewer.
             if quitting:
                 exit()
-            if sys.excepthook is sys.__excepthook__:
+            if False:
                 print_exception()
             else:
                 try:
History
Date User Action Args
2021-05-04 08:43:17Dennis Sweeneysetrecipients: + Dennis Sweeney, terry.reedy, pablogsal, shreyanavigyan
2021-05-04 08:43:17Dennis Sweeneysetmessageid: <1620117797.48.0.960616220475.issue44026@roundup.psfhosted.org>
2021-05-04 08:43:17Dennis Sweeneylinkissue44026 messages
2021-05-04 08:43:17Dennis Sweeneycreate