Issue
both in ipython 0.10 and 0.11 I set the automatic launch of pdb on exceptions.
In ipython 0.10 it works fine:
In [1]: 1/0.
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
/home/zonca/<ipython console> in <module>()
ZeroDivisionError: float division by zero
> <ipython console>(1)<module>()
ipdb>
instead, in ipython 0.11, the exception is NOT visible:
In [1]: 1/0.
> <ipython-input-1-7e0bf5b37da6>(1)<module>()
-1 1/0.
ipdb>
I see it just when I exit the debugger!
In [1]: 1/0.
> <ipython-input-1-7e0bf5b37da6>(1)<module>()
-1 1/0.
ipdb >
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
/home/zonca/<ipython-input-1-7e0bf5b37da6> in <module>()
----> 1 1/0.
ZeroDivisionError: float division by zero
In [2]:
Anybody else has this issue? I'm on Ubuntu, with python 2.7.2, ipython installed with pip.
Solution
It's a known issue with IPython 0.11. It will be fixed in 0.12 (which will hopefully be out before Christmas).
Answered By - Thomas K
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.