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

2020-04-29 Thread Danya Alexeyevsky
Danya Alexeyevsky added the comment: I can reproduce the bug with Linux and python 3.7.5: ``` Python 3.7.5 (default, Apr 19 2020, 20:18:17) [GCC 9.2.1 20191008] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from pathlib import Path >>> Path('a/b').mkdir(p

[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.glob and .r

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

2018-05-15 Thread John Reese
John Reese added the comment: This looks like an issue specific to Windows? I can't replicate on Mac, and given Windows' method of implementing "symlinks" as junctions. -- nosy: +jreese ___ Python tracker _

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

2018-05-04 Thread Brian Sheldon
Change by Brian Sheldon : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[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:\Subfolder\Fil