-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-99547: Add isjunction methods for checking if a path is a junction #99548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 37 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
7b1eb2e
Add an isjunction method to ntpath and posixpath, pass it along as we…
csm10495 d2a769a
Add is_junction test for pathlib
csm10495 5744fc0
Add a skipIf not win32 for testing ntpath isjunction on non windows p…
csm10495 659af26
Merge branch 'python:main' into add_isjunction
csm10495 dc9f389
Merge branch 'python:main' into add_isjunction
csm10495 e54add0
📜🤖 Added by blurb_it.
blurb-it[bot] ccaa147
Merge branch 'python:main' into add_isjunction
csm10495 db3f5b3
Update Lib/test/test_ntpath.py
csm10495 07aaab6
remove un-needed import
csm10495 12b3bc9
Merge branch 'main' into add_isjunction
csm10495 bee6b2c
Update Lib/ntpath.py
csm10495 e3fbf24
fix test... this was a string not an obj
csm10495 262843f
Update Lib/posixpath.py
csm10495 1a8695f
Update Lib/ntpath.py
csm10495 8b32ce5
Empty commit to rekick ci
csm10495 a20ebea
update os.path.rst for isjunction
csm10495 dfdc033
update pathlib docs for is_junction
csm10495 a64052d
Merge pull request #1 from csm10495/add_isjunction
csm10495 b005344
Merge pull request #2 from csm10495/main
csm10495 be80054
Merge branch 'main' into add_isjunction
csm10495 9f8185c
Update 3.12.rst
csm10495 fc75452
Merge pull request #3 from csm10495/csm10495-patch-1
csm10495 5cd2393
Update Doc/library/os.path.rst
csm10495 c0366c8
Update pathlib.rst
csm10495 9d69989
Update pathlib.rst
csm10495 5ee9979
Update os.path.rst
csm10495 ca01686
Update 3.12.rst
csm10495 d036f73
Update os.path.rst
csm10495 a8461ea
Update Lib/ntpath.py
csm10495 8f92e67
pr fixes, also add contribution notices
csm10495 b71a0db
Swap back to LF line endings
csm10495 863a1d7
Merge branch 'main' into add_isjunction
csm10495 4a9330a
update docs
csm10495 aa27ead
fix mistype
csm10495 8b6d55d
Add test for DirEntry is_junction()
csm10495 f3e6483
rekick ci
csm10495 4e448f7
Update Doc/library/os.rst
csm10495 25f48be
Update Doc/library/os.rst
csm10495 2dea623
Update Lib/test/test_os.py
csm10495 5b6ee7d
kick ci
csm10495 dfeb40b
Remove _rmtree_is_dir() since we can now just check if the entry is a…
csm10495 8a90cba
Update Lib/shutil.py
csm10495 296992b
update from suggestion
csm10495 f3372db
Update Lib/shutil.py
csm10495 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core and Builtins/2022-11-16-21-35-30.gh-issue-99547.p_c_bp.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add a function to os.path to check if a path is a junction: isjunction. Add similar functionality to pathlib.Path as is_junction. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.