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 aliles
Recipients aliles, vstinner
Date 2011-07-27.12:43:28
SpamBayes Score 4.67723e-07
Marked as misclassified No
Message-id <>
OK. Not something I was expecting to be asked. But cool :D

If it's not possible for InteractiveConsole to allow exceptions to propagate through sys.excepthook. (I assume they are being caught in a try: catch: block) check sys.excepthook for a custom exception handler and call present.

As InteractiveConsole is supposed to "Closely emulate the behaviour of the interactive Python interpreter", any existing code that replies on it's current could be viewed as relying on a bug.

I'd be happy to attempt a patch if it's worthwhile preparing one.
Date User Action Args
2011-07-27 12:43:29alilessetrecipients: + aliles, vstinner
2011-07-27 12:43:29alilessetmessageid: <>
2011-07-27 12:43:29alileslinkissue12643 messages
2011-07-27 12:43:28alilescreate