[Bug 470824] Re: spurious trailing space after tab completion
Shevek
470824 at bugs.launchpad.net
Mon Oct 10 18:09:40 UTC 2011
Workaround for bash-completion: disable it (complete -r), and just use
the native completion (i.e. complete-everything). This is more usable
than a spurious space after every tab in bash.
** Also affects: bash-completion (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/470824
Title:
spurious trailing space after tab completion
Status in IPython - Enhanced Interactive Python:
Invalid
Status in Python:
New
Status in “bash-completion” package in Ubuntu:
New
Status in “python2.6” package in Ubuntu:
Fix Released
Status in Gentoo Linux:
Fix Released
Bug description:
When linked against readline6, Python's readline module inserts a
space after tab completions. This differs from previous versions and
in most cases is unwanted.
TEST CASE:
$ python
>>> import rlcompleter
>>> import readline
>>> readline.parse_and_bind('tab: complete')
>>> read<TAB>
Should expand to "readline" with no trailing space.
Original description:
Using IPython 0.10, when I use tab completion after cd, IPython inserts an extra space at the end of the trailing /. This makes it hard to use tab completion again to go into a subdirectory.
Strangely enough, after ls, no trailing space gets inserted.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ipython/+bug/470824/+subscriptions
More information about the foundations-bugs
mailing list