-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
GH-103548: Improve performance of pathlib.Path.[is_]absolute()
#103549
Merged
Commits on Apr 14, 2023
-
pythonGH-103548: Improve performance of
pathlib.Path.[is_]absolute()
Pass the *unnormalized* path to `os.path.isabs()`. When making an empty path absolute, avoid calling `os.path.join()`, and prevent pathlib from later re-normalizing the result of `os.getcwd()` by storing it as `path._str`.
Configuration menu - View commit details
-
Copy full SHA for 871dbdb - Browse repository at this point
Copy the full SHA 871dbdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72c6652 - Browse repository at this point
Copy the full SHA 72c6652View commit details
Commits on Apr 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 37153c5 - Browse repository at this point
Copy the full SHA 37153c5View commit details
Commits on Apr 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e2558bb - Browse repository at this point
Copy the full SHA e2558bbView commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6e984bc - Browse repository at this point
Copy the full SHA 6e984bcView commit details
Commits on May 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7d1ebe2 - Browse repository at this point
Copy the full SHA 7d1ebe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfe99fd - Browse repository at this point
Copy the full SHA cfe99fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12957bf - Browse repository at this point
Copy the full SHA 12957bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b476ce6 - Browse repository at this point
Copy the full SHA b476ce6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b32b86c - Browse repository at this point
Copy the full SHA b32b86cView commit details
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.