[issue2740] Cmd module doesn't support readline completion on OSX Leopard

Ruben Kerkhof report at bugs.python.org
Fri May 2 20:05:40 CEST 2008


New submission from Ruben Kerkhof <ruben at rubenkerkhof.com>:

Hi,

Leopard ships with libedit, which is almost the same as readline, but 
has another way to configure completion keys. To enable tab completion 
you have to use rl.parse_and_bind("bind ^I complete") instead of rl.parse_and_bind("bind ^I rl_complete") instead of rl.parse_and_bind("tab: complete").

The guys from IPython patched around it, see http://ipython.scipy.org/moin/InstallationOSXLeopard/LeopardPythonReadli
ne, but is seems to me this is better solved in the python readline 
module itself.

----------
components: Library (Lib)
messages: 66101
nosy: ruben
severity: normal
status: open
title: Cmd module doesn't support readline completion on OSX Leopard
type: behavior
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2740>
__________________________________


More information about the Python-bugs-list mailing list