pyreadline/pyreadline — Issue #2: pyreadline tab completion fails on windows 7
Author: prichard
Created: 2012-03-04 15:13:03+00:00
State: open

Windows python 2.7.2 install from python-2.7.2.msi, which installs:
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
And pyreadline install from pyreadline-1.7.1.win32.exe
OS: Windows 7 Professional, 64-bit

Tab completion fails in the following:

>>> import rlcompleter
>>> import readline
>>> readline.parse_and_bind("tab: complete")
>>> import sys
>>> sys.
Nothing happens - no set of completions.

Completion does work when a partial token is added:
>>> sys.__cl
works:
>>>sys.__class__( <--This is the completion

I have a cygwin install. It has its own version of readline ( a DLL ) which works fine.
On linux this also works fine.