Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

GH-127807: pathlib ABCs: remove PurePathBase._raw_paths#127883

Merged
barneygale merged 3 commits intopython:mainfrom
barneygale:gh-127807-raw-paths
Dec 22, 2024
Merged

GH-127807: pathlib ABCs: remove PurePathBase._raw_paths#127883
barneygale merged 3 commits intopython:mainfrom
barneygale:gh-127807-raw-paths

Conversation

@barneygale
Copy link
Contributor

@barneygale barneygale commented Dec 12, 2024

Remove the PurePathBase initializer, and make with_segments() and __str__() abstract. This allows us to drop the _raw_paths attribute, and also the Parser.join() protocol method.

Remove the `PurePathBase` initializer, and make `with_segments()` and
`__str__()` abstract. This allows us to drop the `_raw_paths` attribute,
and also the `Parser.join()` protocol method.
@barneygale barneygale enabled auto-merge (squash) December 22, 2024 00:55
@barneygale barneygale merged commit a959ea1 into python:main Dec 22, 2024
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Dec 23, 2024
…on#127883)

Remove the `PurePathBase` initializer, and make `with_segments()` and
`__str__()` abstract. This allows us to drop the `_raw_paths` attribute,
and also the `Parser.join()` protocol method.
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
…on#127883)

Remove the `PurePathBase` initializer, and make `with_segments()` and
`__str__()` abstract. This allows us to drop the `_raw_paths` attribute,
and also the `Parser.join()` protocol method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant