You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
isjunction for checking if a given path is a junction #99547
(A clear and concise description of your proposal.)
Pitch
I’m proposing we add a isjunction method to os.path and a is_junction method to pathlib.Path. Both would return True if the given path is a junction. On Posix the API would exist, but would always return False as this tends to be a Windows-only thing.
We have similar logic to check for concepts like ismount, islink, etc. So i figure this would fit in.
Activity
gh-99547: Add isjunction methods for checking if a path is a junction (…
brettcannon commentedon Nov 25, 2022
Can this issue be closed since #99548 got merged?
csm10495 commentedon Nov 25, 2022
👍 Closing out. Thanks!