Message517
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");
}
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:58 | admin | link | issue490963 messages |
2008-02-20 17:16:58 | admin | create | |
|