[IPython-dev] Ipython output uses the previous version of the file to show wrong code line.

Thomas Kluyver takowl@gmail....
Mon Sep 16 14:55:49 CDT 2013

On 14 September 2013 14:52, Thomas Kluyver <takowl@gmail.com> wrote:

> The relevant modules are linecache (in the standard library) and our
> wrapper, ulinecache. I'll dig into this more on Monday.

It appears to be specific to SyntaxErrors, because they use a different
pathway to get the line from the file. I've put together a fix for this in
PR 4218.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130916/b970d552/attachment-0001.html 

More information about the IPython-dev mailing list