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

2018-05-16 Thread Brian Sheldon
Brian Sheldon 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.glo

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

2018-05-04 Thread Brian Sheldon
Change by Brian Sheldon : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue33428> ___ ___ Python-bugs-list mailing list Unsubscrib

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

2018-05-04 Thread Brian Sheldon
New submission from Brian Sheldon : Given a `pathlib.Path` that contains symlinked subfolders, `Path.glob` (and `.rglob`) do not follow symlinks. This is not consistent with `glob.glob` which does. For example given the following: C:\Folder C:\Folder\Subfolder -> D:\Subfolder D:\Subfol

[issue33392] pathlib .glob('*/') returns files as well as directories

2018-05-04 Thread Brian Sheldon
Brian Sheldon added the comment: This appears to be a duplicate of #22276 -- nosy: +brianmsheldon ___ Python tracker <https://bugs.python.org/issue33392> ___ ___