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.
A second part of this skips out early on absolute file names, which
prevents joining them with sys.path components also. As far as I can
tell this would cause no harm, but it's not useful either.
Added file: http://bugs.python.org/file10812/linecache.py_2008_07_04.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1754483
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com