{{ message }}
GH-74033: Drop deprecated pathlib.Path keyword arguments - #118793
Merged
Conversation
Remove support for supplying keyword arguments to `pathlib.Path()`. This has been deprecated since Python 3.12.
pathlib.Path() keyword argumentspathlib.Path keyword arguments
Contributor
Author
Contributor
Author
|
@pablogsal this undoes a change to the IO tests that you made in 90a1b28. I don't quite understand what's going on here 🙃 but the removal of |
Contributor
Author
|
It looks like |
barneygale
enabled auto-merge (squash)
May 14, 2024 19:51
Contributor
Author
|
I've logged #119049 for the |
|
estyxx
pushed a commit
to estyxx/cpython
that referenced
this pull request
Jul 17, 2024
…hon#118793) Remove support for supplying keyword arguments to `pathlib.Path()`. This has been deprecated since Python 3.12.
izmalk
added a commit
to canonical/ulwazi
that referenced
this pull request
Aug 28, 2026
Fix a TypeError bug appeared due to change in the 3.14 Python. python/cpython#118793
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Remove support for supplying keyword arguments to
pathlib.Path(). This has been deprecated since Python 3.12.📚 Documentation preview 📚: https://cpython-previews--118793.org.readthedocs.build/