Message296988
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] |
|
Date |
User |
Action |
Args |
2017-06-27 02:35:59 | emilyemorehouse | set | recipients:
+ emilyemorehouse, gvanrossum, rhettinger, serhiy.storchaka, Yang Xiao |
2017-06-27 02:35:59 | emilyemorehouse | set | messageid: <1498530959.66.0.979598874598.issue30763@psf.upfronthosting.co.za> |
2017-06-27 02:35:59 | emilyemorehouse | link | issue30763 messages |
2017-06-27 02:35:59 | emilyemorehouse | create | |
|