-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
GH-89812: Add pathlib._PurePathExt
#104810
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
81e301b
GH-89812: Add `pathlib._LexicalPath`
barneygale ace5824
Rename `_LexicalPath` --> `_BasePurePath`
barneygale d1b23c8
Document __bytes__ in PurePath docstring
barneygale 115002a
Apply suggestions from code review
barneygale f257e48
Revert "Document __bytes__ in PurePath docstring"
barneygale 68d2891
Update Lib/pathlib.py
barneygale 458c33d
Subclass from `os.PathLike`
barneygale 6d9a1a2
Add news blurb
barneygale bd23782
Revert "Subclass from `os.PathLike`"
barneygale a69417f
Revert "Add news blurb"
barneygale 45f6bd3
Merge branch 'main' into gh-89812-add-lexicalpath
barneygale 1e24f80
Merge branch 'main' into gh-89812-add-lexicalpath
barneygale 70d81d6
Merge branch 'main' into gh-89812-add-lexicalpath
barneygale 7e7b5d4
Merge branch 'main' into gh-89812-add-lexicalpath
barneygale 98e30d4
Fix missed isinstance() call.
barneygale 8d12e06
Merge branch 'main' into gh-89812-add-lexicalpath
barneygale e36eb74
Drop methods from `PurePath` itself, as it cannot be instantiated.
barneygale 0ea24cc
Move as_uri() back
barneygale 342e64b
Adjust docs
barneygale 90bc6b3
Add tests
barneygale 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
Apply suggestions from code review
Co-authored-by: Éric <merwok@netwok.org>
- Loading branch information
commit 115002aee671ee1221c5c771ec55191a71bd6818
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
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.