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.
Use casting trait for session number in history, so IPython will star…
…t on PyPy.
Defer saving raw_input to shell initialisation, so that we pick up th…
…e modified version needed for PyPy's readline to work.
The shell is now working OK with PyPy's readline. Haven't tried to make all the tests pass.
Do we want to wait for further PyPy compatibility, or should we just merge this now? It seems fine as-is to me.
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.
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.
OK, great. I've merged it in.