Dennis Sweeney <[email protected]> added the comment:
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:
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44026>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com