[issue26587] Possible duplicate entries in sys.path if .pth files are used with zip's

Wolfgang Langner report at bugs.python.org
Sat Mar 26 13:33:45 EDT 2016


Wolfgang Langner added the comment:

Ok, I implemented point 3.
Check if it is a dir or file and makepath only in this case.
All other entries are added unmodified to the set.

Added a test case also for an URL path.

I think duplicate detection is now improved and it should break nothing.

----------
Added file: http://bugs.python.org/file42296/site2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26587>
_______________________________________


More information about the Python-bugs-list mailing list