[issue33428] pathlib.Path.glob does not follow symlinks

Brian Sheldon report at bugs.python.org
Wed May 16 21:53:56 EDT 2018


Brian Sheldon <brianmsheldon at gmail.com> added the comment:

Windows does not implement symlinks as junctions.  Windows has hardlinks, symlinks and junctions which are all distinctly different in behaviour.

I don't doubt that this is a Windows-specific issue, although I have not tested other platforms.  Path.glob and .rglob does work for junctions and hardlinks but glob.glob works consistently for all three.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33428>
_______________________________________


More information about the Python-bugs-list mailing list