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 akuchling
Recipients
Date 2006-08-03.21:18:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=11375

In 2.5trunk, linecache seems to be broken in a different
way; the files are never added to the cache at all, and
getlines() returns an empty list.  

One problem is that, when updatecache searches through
sys.path, it does os.path.join(path, basename), not
filename, so it looks for ./__init__.py, not
./pkg1/__init__.py.  Changing it to filename makes the test
script work in 2.5.

It's not clear if linecache really intends to support
multiple-component filenames, though.  I think it should,
though.


History
Date User Action Args
2007-08-23 14:27:36adminlinkissue1068477 messages
2007-08-23 14:27:36admincreate