Skip to content

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

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

Conversation

bgerrity
Copy link
Contributor

@bgerrity bgerrity commented Jan 21, 2021

@bgerrity
Copy link
Contributor Author

Could also be a param in PurePath.with_suffix.

@barneygale
Copy link
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

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