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

Thomas Kluyver takowl at gmail.com
Mon Sep 16 15:55:49 EDT 2013

On 14 September 2013 14:52, Thomas Kluyver <takowl at 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.python.org/pipermail/ipython-dev/attachments/20130916/b970d552/attachment.html>

More information about the IPython-dev mailing list