./python completion problems
Bug #660613 reported by
Barry Warsaw
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash-completion
Get a source checkout of Python:
bzr branch lp:python
cd python
./configure && make
./python Lib/test[TAB]
The following error occurs at the TAB
% ./python Lib/testbash: COMP_WORDS: bad array subscript
To post a comment you must log in.
I noticed this problem too. One bit of information to add: it seems to only happen when the python executable is being invoked via a symbolic link. For example, if I want to run the script app.py in the current directory, "/usr/bin/python a<TAB>" causes the error, while "/usr/bin/python2.6 a<TAB>" does not. In either case, the correct thing ultimately happens, but the symlink version inserts the "COMP_WORDS: bad array subscript" message.