[issue1754483] linecache package handling

Kevin Goodsell report at bugs.python.org
Sat Jul 5 07:58:47 CEST 2008


Kevin Goodsell <sourceforge.20.fusion at neverbox.com> 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 <report at bugs.python.org>
<http://bugs.python.org/issue1754483>
_______________________________________


More information about the Python-bugs-list mailing list