I've tried loading up IPython, and it seems to respond out of order. Here's an example REPL output:
Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17)
Type "copyright", "credits" or "license" for more information.
IPython 0.12.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
i = 3
3+ 2
In [1]: In [2]: Out[2]: 5
exit
In [3]:
***Repl Closed***
[
{
"id": "tools",
"children":
[{
"caption": "SublimeREPL",
"mnemonic": "r",
"id": "SublimeREPL",
"children":
[
{"command": "repl_open",
"caption": "IPython",
"id": "repl_ipython",
"mnemonic": "i",
"args": {
"type": "subprocess",
"encoding": "utf8",
"cmd": ["ipython", "-i", "--nosep", "--colors=NoColor"],
"cwd": "$file_path",
"external_id": "ipython",
"syntax": "Packages/Python/Python.tmLanguage"
}
}
]
}]
}
]
[
{
"caption": "SublimeREPL: IPython",
"command": "run_existing_window_command", "args":
{
"id": "repl_ipython",
"file": "config/IPython/Main.sublime-menu"
}
}
]