[Python-bugs-list] [ python-Bugs-554645 ] Strange readline completer behaviour
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 10 May 2002 12:38:03 -0700
Bugs item #554645, was opened at 2002-05-10 22:38
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=554645&group_id=5470
Category: Extension Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Joonas Paalasmaa (jpaal)
Assigned to: Nobody/Anonymous (nobody)
Summary: Strange readline completer behaviour
Initial Comment:
I have enabled readline completing in my .pythonrc file to which PYTHONSTARTUP
points to. However, when I hit TAB twice in interactive mode, completer
displays the contents of the current directory, not Python's namespace.
I have built Python with readline 4.1-1 on Debian 2.2R6.
root@debian:~# cat .pythonrc
import readline
readline.parse_and_bind("tab: complete")
root@debian:~# python
Python 2.2 (#3, May 7 2002, 05:48:48)
[GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
.bash_history .profile batch extensionTest todo
.bash_logout .pythonrc builds musketti.txt
.bashrc bash.output debs temp
>>>
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=554645&group_id=5470