Title: No readline module use by raw_input builtin function
Type: behaviour Severity: normal
Components: Core Versions: 2.5.1
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: romel, zyasoft
Priority: Keywords:

Created on 2010-01-12.22:58:44 by romel, last changed 2010-08-15.14:47:31 by zyasoft.

msg5429 (view) Author: Romel R. Sandoval-Palomo (romel) Date: 2010-01-12.22:58:44
When using raw_record build in function, this does not use readline module even if it is available.

After installing GNU readline and Java-Readline using the method described in The following code has an incorrect behavior:

import readline

    command = raw_input("> ")
    if command == "":
    if command == "q":
        print "bye"
    print "comand: %s" %(command)

Using CPython when you press up key you get the items in readline history. But on Jython you get ^[[A.
msg5963 (view) Author: Jim Baker (zyasoft) Date: 2010-08-15.14:47:30
Please use our builtin JLine support. The cited wiki page is out of date. We really do not want to spend time on the GNU version of readline, since its license prevents us from bundling with Jython.

Readline emulation (with JLine) is being tracked at #1133
Date User Action Args
2010-08-15 14:47:31zyasoftsetstatus: open -> closed
resolution: wont fix
messages: + msg5963
nosy: + zyasoft
title: No readline module usage in raw_input build in function -> No readline module use by raw_input builtin function
2010-01-12 22:58:44romelcreate