You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IPython ignore chained exception when using %xmode plain #11995
I'm not sure, this is pretty old code, but Plain appear to go through a path that only print the last exception.
I agree with you that there does not appear to be any reason not to print the chain, I'm just saying that the current code appear to have been implemented in a way that assume it would not have to do it.
Activity
Carreau commentedon Dec 1, 2019
Hum, that appear to be on purpose; and it's not going to be an easy change.
impact27 commentedon Dec 1, 2019
I am not sure what the rationale of this being on purpose is. Why shouldn't
'Plain'follow https://www.python.org/dev/peps/pep-3134/? I can understang e.g. for'Minimal'.Carreau commentedon Dec 1, 2019
I'm not sure, this is pretty old code, but
Plainappear to go through a path that only print the last exception.I agree with you that there does not appear to be any reason not to print the chain, I'm just saying that the current code appear to have been implemented in a way that assume it would not have to do it.
impact27 commentedon Dec 1, 2019
Ok, I opened a PR that could solve it: #11999