Message9497

Author dieterv
Recipients dieterv
Date 2015-02-07.02:37:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423276648.04.0.248424074295.issue2266@psf.upfronthosting.co.za>
In-reply-to
Content
Until recently, i was using jython in conjunction with an old, hacked branch of ipython (https://github.com/dieterv77/ipython/tree/0.10.2-jython).  But some of the recent changes of readline in jython have introduced some problems with this.  To solve one of them i have added a pull request on github: https://github.com/jythontools/jython/pull/15

The next issue unfortunately is beyond me.  Here's an illustration of the problem created by using jython master from github.
Jython 2.7b4+ (, Feb 6 2015, 21:16:46)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_51
Type "help", "copyright", "credits" or "license" for more information.
>>> import readline
>>> readline.read_history_file()
Reading history: ~/.history
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/foo/ThirdParty/jython/dist/Lib/readline.py", line 70, in read_history_file
    new_history = _reader.getHistory().getClass()()
TypeError: jline.console.history.FileHistory(): expected 1 args; got 0

Thanks for those of you working on jython.  It is incredible useful for a python fan in a java shop.
History
Date User Action Args
2015-02-07 02:37:28dietervsetrecipients: + dieterv
2015-02-07 02:37:28dietervsetmessageid: <1423276648.04.0.248424074295.issue2266@psf.upfronthosting.co.za>
2015-02-07 02:37:27dietervlinkissue2266 messages
2015-02-07 02:37:27dietervcreate