-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-118507 : Refactor nt._path_is*
#118755
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 all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
ab76c06
Speedup `ntpath.exists`
nineteendo 1c5350d
Update comment
nineteendo d7017ac
📜🤖 Added by blurb_it.
blurb-it[bot] 2963338
Improve `nt_exists()`
nineteendo e833f04
Apply suggestions from code review
nineteendo d0493c2
Revert helper functions
nineteendo 4403f4a
Update argument clinic
nineteendo 7a9038f
Update 2024-04-13-11-30-09.gh-issue-117841.eW4w_y.rst
nineteendo a6ec86d
Merge branch 'main' into speedup-ntpath.lexists
nineteendo 30603f0
Refactor `nt._path_is*`
nineteendo cd7c6d0
Add `nt._path_isjunction`
nineteendo 168d299
Fix bug & further refactoring
nineteendo e00df4c
Fix attribute name
nineteendo b31a252
Add test for pipe
nineteendo 59e1407
Skip unless `os.pipe` is available
nineteendo 76acc0d
📜🤖 Added by blurb_it.
blurb-it[bot] 2c8e464
Update Modules/posixmodule.c
nineteendo a8bc5f2
Update Modules/posixmodule.c
nineteendo 55b6b80
Update Lib/test/test_ntpath.py
nineteendo 61a62ce
Fix compilation errors
nineteendo ba79151
Update Modules/posixmodule.c
nineteendo 5153413
Merge branch 'refactor-nt._path_is' into speedup-ntpath.lexists
nineteendo 01568bb
Merge pull request #1 from nineteendo/speedup-ntpath.lexists
nineteendo 07629c6
Merge news entries
nineteendo 0fcffb5
Replace ampersand
nineteendo cae7a55
More refactoring
nineteendo cbf0bc4
Update generated code
nineteendo 4c0a3f7
Fix path conversion
nineteendo 5bf963e
Fix undefined variable
nineteendo 71cb7f0
Add helper function
nineteendo 24d2749
Apply suggestions from code review
nineteendo 6edc3b3
Fix syntax error
nineteendo c6dae2c
Further refactoring
nineteendo 05dd20e
Ternary operator
nineteendo 2ced928
Fix attributes
nineteendo dfd4196
No inline
nineteendo 7a7e942
Apply suggestions from code review
nineteendo 50b3612
Update posixmodule.c
nineteendo eab1cb4
Update Modules/posixmodule.c
nineteendo 6f6b07b
Update Modules/posixmodule.c
nineteendo 0ca58a0
Update posixmodule.c
nineteendo 3f1ea76
Update Modules/posixmodule.c
nineteendo 222c58a
Update test_ntpath.py
nineteendo 6e41cbf
Update Lib/test/test_ntpath.py
nineteendo 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
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core and Builtins/2024-05-08-18-33-07.gh-issue-118507.OCQsAY.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 @@ | ||
Speedup :func:`os.path.isjunction` and :func:`os.path.lexists` on Windows with a native implementation. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.