PyPy compatibility #722

Merged
merged 2 commits into from Sep 7, 2011

2 participants

@takluyver
IPython member

So far, this just gets it to start. It still has trouble with readline, and there a lot of test failures - a combination of nose, the limitations of PyPy's numpy module, small differences in output for doctests, and unicode.

Will liaise with PyPy developers - first off, about readline, because without tab completion, one of the big advantages of IPython is missing.

Closes gh-719

@takluyver
IPython member

The shell is now working OK with PyPy's readline. Haven't tried to make all the tests pass.

@minrk
IPython member

Do we want to wait for further PyPy compatibility, or should we just merge this now? It seems fine as-is to me.

@takluyver
IPython member

I'm happy to merge this now. We can always do more later if we need to. I just made a PR to check that it was OK to store the original raw_input at instantiation, rather than at import.

@minrk
IPython member

Yes, I think this makes sense. I think it's actually better, because IPython should use the raw_input of the environment into which it is launched, not that of the top of the first file to import it.

@takluyver takluyver merged commit d8f3d17 into ipython:master Sep 7, 2011
@takluyver
IPython member

OK, great. I've merged it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment