[IPython-dev] IPython with Py3k

Thomas Kluyver takowl at gmail.com
Tue Sep 14 19:37:36 EDT 2010

A quick update:

ipy3-preparation, my Python 2 branch tracking newkernel, now passes all nine
test suites, at least on my machine (tested at this
Feel free to review the changes in this with an eye to merging them into
newkernel. It is not intended to be compatible with Python 3, but it makes
conversion simpler, partly by cutting compatibility with older Python 2.x

ipy3-newkernel (my Python 3 branch, tracking ipy3-preparation but via the
2to3 converter) is still some way from passing its test suites, although it
works well enough to be useful to me. I'll continue to work on it, although
it'll have a brief pause when I go on holiday in a couple of days. If you
want to investigate, it's at:

One specific question (and the cause of a remaining failure in the
IPython.lib tests): if you enter a line with invalid syntax, Python displays
the line back to you, with a little ^ below pointing to the problem. IPython
gives that some pretty formatting. In ipy3-newkernel, I'm not getting that
display, although I still get the SyntaxError: ... line. Can anyone suggest
where I should start looking for the code for that? I think it's different
from the code for a full traceback in core/ultratb.py .

Best wishes,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20100915/30ecc5ae/attachment.html>

More information about the IPython-dev mailing list