FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-127381: pathlib ABCs: remove `WritablePath.mkdir()` arguments by barneygale · Pull Request #130611 · python/cpython · GitHub

/ cpython Public

GH-127381: pathlib ABCs: remove WritablePath.mkdir() arguments - #130611

Merged
barneygale merged 2 commits into
python:mainfrom
barneygale:gh-127381-prune-mkdir-args
Mar 1, 2025
Merged

GH-127381: pathlib ABCs: remove WritablePath.mkdir() arguments#130611
barneygale merged 2 commits into
python:mainfrom
barneygale:gh-127381-prune-mkdir-args

Conversation

barneygale commented Feb 26, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Remove the mode, parents and exist_ok arguments from WritablePath.mkdir(). These arguments imply support for POSIX permissions and checking for preexistence of the path or its parents, but subclasses of WritablePath may not have these capabilities.

Remove the *mode*, *parents* and *exist_ok* arguments from
`WritablePath.mkdir()`. These arguments imply support for POSIX permissions
and checking for preexistence of the path or its parents, but subclasses of
`WritablePath` may not have these capabilities.
barneygale marked this pull request as ready for review February 28, 2025 19:55
barneygale merged commit c9932a9 into python:main Mar 1, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL