ipython/ipython — pull request #4858 by minrk (2014-01-24 01:41:21+00:00)
Title: fix tb_offset when running a file

either with %run or via `ipython script.py`

since we wrap execfile, the tb_offset needs to be 2 instead of the default (1).

closes #4835