Message23187
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.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:27:36 | admin | link | issue1068477 messages |
2007-08-23 14:27:36 | admin | create | |
|