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
[carlos@carlos ~]$ ipython
Python 3.4.3 (default, Feb 26 2015, 23:01:07)
Type "copyright", "credits" or "license" for more information.
IPython 3.0.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: %pdb
Automatic pdb calling has been turned ON
In [2]: 1/0
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
<ipython-input-2-05c9758a9c21> in <module>()
----> 1 1/0
ZeroDivisionError: division by zero
> <ipython-input-2-05c9758a9c21>(1)<module>()
----> 1 1/0
ipdb> q
In [3]: %<Tab><Tab><Tab><Tab>...
Yep, now I remember having something like that my ipython initialization because of a similar thing that used to happen with rmagic (I think), a long time ago.
The previous fix only reset readline after quit, but you can exit the debugger with cont and other commands, and also EOF (Ctrl-D). I relocated the finalization logic at the end of the interaction, see the PR. Seems to work fine but I have not seriously tested it.
Activity
Reset readline delimiters on exiting debugger
takluyver commentedon Mar 19, 2015
#8090 should fix it.
memeplex commentedon Mar 19, 2015
Yep, now I remember having something like that my ipython initialization because of a similar thing that used to happen with rmagic (I think), a long time ago.
takluyver commentedon Mar 19, 2015
Yep, #2759.
memeplex commentedon Oct 10, 2015
Regression: this is happening again with:
Should I open a new issue?
memeplex commentedon Oct 10, 2015
The previous fix only reset readline after
quit, but you can exit the debugger withcontand other commands, and alsoEOF(Ctrl-D). I relocated the finalization logic at the end of the interaction, see the PR. Seems to work fine but I have not seriously tested it.