Skip to content

bpo-42995: add PurePath.with_suffix_appended()#24288

Closed
bgerrity wants to merge 1 commit into
python:mainfrom
bgerrity:bpo-42995-add-pathlib-with-suffix-append
Closed

bpo-42995: add PurePath.with_suffix_appended()#24288
bgerrity wants to merge 1 commit into
python:mainfrom
bgerrity:bpo-42995-add-pathlib-with-suffix-append

Conversation

@bgerrity
Copy link
Copy Markdown
Contributor

@bgerrity bgerrity commented Jan 21, 2021

@bgerrity
Copy link
Copy Markdown
Contributor Author

Could also be a param in PurePath.with_suffix.

@barneygale
Copy link
Copy Markdown
Contributor

Are these equivalent?

>>> p.with_suffix(p.suffix + '.gz')
>>> p.with_suffix_appended('.gz')

If so this seems a bit niche for a dedicated function

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Feb 26, 2021
@bgerrity bgerrity closed this Oct 11, 2021
@bgerrity bgerrity mannequin mentioned this pull request Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants