This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author emilyemorehouse
Recipients Yang Xiao, emilyemorehouse, gvanrossum, rhettinger, serhiy.storchaka
Date 2017-06-27.02:35:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498530959.66.0.979598874598.issue30763@psf.upfronthosting.co.za>
In-reply-to
Content
This is the expected functionality of linecache. As each file is read, it is stored in a cache, subsequent calls using linecache do not check to see if the file has changed.

If you know that the file has changed, you should call linecache.checkcache() to check all files or linecache.checkcache(filename) to check a specific file. (https://docs.python.org/2/library/linecache.html#linecache.checkcache)


[Since no one is listed in the Experts Index, I've included some other contributors to linecache who can assist in closing out this issue]
History
Date User Action Args
2017-06-27 02:35:59emilyemorehousesetrecipients: + emilyemorehouse, gvanrossum, rhettinger, serhiy.storchaka, Yang Xiao
2017-06-27 02:35:59emilyemorehousesetmessageid: <1498530959.66.0.979598874598.issue30763@psf.upfronthosting.co.za>
2017-06-27 02:35:59emilyemorehouselinkissue30763 messages
2017-06-27 02:35:59emilyemorehousecreate