[issue1754483] linecache package handling

2008-07-04 Thread Kevin Goodsell
Kevin Goodsell <[EMAIL PROTECTED]> added the comment: Here's a small test script. Added file: http://bugs.python.org/file10813/test.py ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue1754483] linecache package handling

2008-07-04 Thread Kevin Goodsell
Kevin Goodsell <[EMAIL PROTECTED]> added the comment: Hans is right, that patch isn't very good. Here's a second pass. This one avoids joining the file basename to sys.path components, which I'd say is wrong since it strips (presumably relevant) leading path components.