Message141225
| Author |
aliles |
| Recipients |
aliles, vstinner |
| Date |
2011年07月27日.12:43:28 |
| SpamBayes Score |
4.6772323e-07 |
| Marked as misclassified |
No |
| Message-id |
<1311770609.64.0.662304855215.issue12643@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|