[Bug 470824] Re: spurious trailing space after tab completion

Peter Cordes peter at cordes.ca
Sat Nov 29 09:56:19 UTC 2014


** Changed in: bash-completion (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released
Status in bash-completion package in Ubuntu:
  Fix Released
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