aliles <aaron.i...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12643>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to