[IPython-dev] Jython support in ipython

Fernando Perez fperez.net@gmail....
Tue Oct 26 14:48:04 CDT 2010


Hi Jim,

On Tue, Oct 26, 2010 at 12:28 PM, Jim Baker <jbaker@zyasoft.com> wrote:
> Jython 2.6+ will support ABCs, but that has work that has just begun. Given
> that, we probably should adopt this plan:
>
> Create a jython-ipython fork of 0.10.1; publish this on PyPI
> Port relevant changes to ipython trunk so that stock ipython can be
> installed for Jython 2.6+

That sound like a good plan to me, modulo that I'd base your current
work on the 0.10.2 branch here:

http://github.com/ipython/ipython/tree/0.10.2

that has the most recent code that's still 2.5-compatible.

Sorry about the fact that we'd moved to 2.6 just as you guys showed up
:)  The real motivation for that was getting things ready for the 3.x
transition, and we figured that 2.6 being out for over 2 years was
enough of a window that we took the jump.  Hopefully before long your
2.6/7 work will be stable enough that this won't be a problem anymore.

One interesting possibility opened by the new ZeroMQ-based model will
be the ability to use any client (such as the nice Qt one or the new
web one) to talk to a Jython-based kernel.  You could thus benefit
from the client work done by others while talking to a kernel running
on the JVM and accessing your Java libs.

And conversely, you could write a pure Java client (in say Eclipse or
any other Java tool) that could talk to a CPython kernel, so that for
example people who like the Java tool could operate on
numpy/scipy/matplotlib backends from their familiar environments.

Cheers,

f


More information about the IPython-dev mailing list