◐ Shell
clean mode source ↗

bpo-37834: Normalise handling of reparse points on Windows by zooba · Pull Request #15231 · python/cpython

@zooba zooba changed the title bpo-37834: Enable os.readlink and os.path.is_link to recognize app execution aliases bpo-37834: Only treat symlink and junction reparse points as links

Aug 13, 2019

eryksun

eryksun

eryksun

@zooba zooba mentioned this pull request

Aug 15, 2019

eryksun

@zooba zooba mentioned this pull request

Aug 21, 2019
* ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed)
* nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point)
* nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour)
* nt.readlink() will read destinations for symlinks and junction points only

bpo-1311: os.path.exists('nul') now returns True on Windows
* nt.stat('nul').st_mode is now S_IFCHR (previously was an error)

@zooba

@zooba zooba changed the title bpo-37834: Only treat symlink and junction reparse points as links bpo-37834: Normalise handling of reparse points on Windows

Aug 21, 2019

@zooba

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019
…15231)

bpo-37834: Normalise handling of reparse points on Windows
* ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed)
* nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point)
* nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour)
* nt.readlink() will read destinations for symlinks and junction points only

bpo-1311: os.path.exists('nul') now returns True on Windows
* nt.stat('nul').st_mode is now S_IFCHR (previously was an error)

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
…15231)

bpo-37834: Normalise handling of reparse points on Windows
* ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed)
* nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point)
* nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour)
* nt.readlink() will read destinations for symlinks and junction points only

bpo-1311: os.path.exists('nul') now returns True on Windows
* nt.stat('nul').st_mode is now S_IFCHR (previously was an error)

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request

Jul 20, 2020
…15231)

bpo-37834: Normalise handling of reparse points on Windows
* ntpath.realpath() and nt.stat() will traverse all supported reparse points (previously was mixed)
* nt.lstat() will let the OS traverse reparse points that are not name surrogates (previously would not traverse any reparse point)
* nt.[l]stat() will only set S_IFLNK for symlinks (previous behaviour)
* nt.readlink() will read destinations for symlinks and junction points only

bpo-1311: os.path.exists('nul') now returns True on Windows
* nt.stat('nul').st_mode is now S_IFCHR (previously was an error)