Message227881
It seems that sys.excepthook doesn't receive the traceback when an error occurs during a code.InteractiveInterpreter run. The problem is here: https://hg.python.org/cpython/file/5ade1061fa3d/Lib/code.py#l168. last_tb was previously set to None right before. The attached patch passes sys.last_traceback to sys.excepthook. |
|
Date |
User |
Action |
Args |
2014-09-30 11:28:59 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, r.david.murray |
2014-09-30 11:28:59 | Claudiu.Popa | set | messageid: <1412076539.24.0.326910714196.issue22522@psf.upfronthosting.co.za> |
2014-09-30 11:28:59 | Claudiu.Popa | link | issue22522 messages |
2014-09-30 11:28:59 | Claudiu.Popa | create | |
|