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
$ python
Python 2.7.11 (default, Dec 21 2015, 23:25:12)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ipdb; ipdb.set_trace()
--Return--
None
> <stdin>(1)<module>()
ipdb> import string
ipdb> string.
Pressing the tab key at this point brings up iPython 5's new autocomplete pop-up.
In contrast, raising in an exception in a nose test run with --ipdb gets the same prompt, but does not autocomplete when tab is pressed.
The text was updated successfully, but these errors were encountered:
wodow
changed the title
Autocomplete fails when using ipython 5.0.0
Autocomplete fails when using iPython 5.0.0
Aug 10, 2016
I'm sorry for the huge delay on this. It has been hard for me to be able to sit down and work on this lately. I did give it a try quickly a while ago, but IPython's API changed quite a bit.
If someone is kind enough to provide a patch for this, I'll obviously merge it. Otherwise, please just wait a bit more and I'll try to fix it once and for all (probably along with #24).
I've merged #25 , which adds support for IPython>=5. There still seems to be an issue with the way nose captures stdout by default. Apparently, IPython's terminal does not handle this well. As far as I can tell, there is no way of making this work with stdout capture active.
The way to use autocomplete is to also use nose's --nocapture option. I've added a warning about this on bf0d44b.
Example:
Pressing the tab key at this point brings up iPython 5's new autocomplete pop-up.
In contrast, raising in an exception in a nose test run with
--ipdb
gets the same prompt, but does not autocomplete when tab is pressed.The text was updated successfully, but these errors were encountered: