Message517

Author bab
Recipients
Date 2001-12-09.23:44:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Hi.  Bablok's readline classes have been updated
and the new interface is incompatible with the old.
Below is a patch for org/python/util/ReadlineConsole.java
that uses the new (0.6) interface.

Thanks - Ben.

--- jython-2.1-beta1.orig/org/python/util/ReadlineConsole.java
+++ jython-2.1-beta1/org/python/util/ReadlineConsole.java
@@ -17,6 +17,10 @@
     }
     public ReadlineConsole(PyObject locals, String filename) {
         super(locals,filename);
+        try {
+           Readline.load(ReadlineLibrary.Editline);
+        } catch (RuntimeException e) {
+        }
         Readline.initReadline("jpython");
     }

History
Date User Action Args
2008-02-20 17:16:58adminlinkissue490963 messages
2008-02-20 17:16:58admincreate