Message141225
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:29 | aliles | set | recipients:
+ aliles, vstinner |
2011-07-27 12:43:29 | aliles | set | messageid: <1311770609.64.0.662304855215.issue12643@psf.upfronthosting.co.za> |
2011-07-27 12:43:29 | aliles | link | issue12643 messages |
2011-07-27 12:43:28 | aliles | create | |
|