[issue12643] code.InteractiveConsole ignores sys.excepthook
Antoine Pitrou
report at bugs.python.org
Fri Jul 29 15:10:06 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
If someone is setting sys.excepthook, they are not expecting it to be ignored, so I think there's no reason to preserve existing behaviour. On the other hand, it is easy to customize exception printout by subclassing InteractiveConsole and overriding the showtraceback() method.
aliles, if you want to work on a patch, we have a developer's guide at http://docs.python.org/devguide/.
----------
nosy: +pitrou
stage: -> needs patch
versions: +Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12643>
_______________________________________
More information about the Python-bugs-list
mailing list