juliantaylor/ipython — comment on commit e68660659803dfc67b3d05e89f8b3013f6a11cae
File: IPython/frontend/terminal/interactiveshell.py line 241
By juliantaylor:

the line from raw_input will not be part of source_raw which is readded to the history, so only the code cell is stored in history.
Maybe I misunderstood? Can you give an example input that produces problems?