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

Thomas Kluyver takowl@gmail....
Sat Sep 14 16:52:36 CDT 2013


On 14 September 2013 12:31, MinRK <benjaminrk@gmail.com> wrote:

> Something is going wrong with caching the contents of the file for use
> when displaying the traceback. The cache isn't being updated, even though
> the file has changed.
>
> Perhaps someone with more intimate knowledge of the inner workings of %run
> and/or the traceback renderer can shed more light on it.
>

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

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130914/1d46e6cf/attachment.html 


More information about the IPython-dev mailing list