[IPython-dev] Jython support in ipython

Brian Granger ellisonbg@gmail....
Tue Oct 26 01:12:09 CDT 2010


Jim,

> I just tried a checkout of master, however I get the following:
>
> ImportError: Python Version 2.6 or above is required for IPython.
>
> Trying a little bit more by disabling that version check, I discovered that
> at least 2.6's support of print as a function, instead of a statement, is
> used. Now Jython 2.6 work kicked off just this week, so hopefully we don't
> really need 2.6. Jython 2.5 does have two key 2.6 features that you might be
> using: 1) full mutable ast support (through the ast module, used by sympy's
> support); 2) class decorators. (We also have namedtuple.)
> Maybe for Jython this is just a matter of isolating the print function? It
> doesn't seem to be used in too many places.

We are using Python 2.6 pretty aggressively in the IPython codebase.
I can't remember all the things we are using at this point, but I know
we are using abc's and the improved Popen stuff as well as print as
you mention.  But, our usage of abc's is probably the most difficult
to get around at this point.

Cheers,

Brian



> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu
ellisonbg@gmail.com


More information about the IPython-dev mailing list