-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
GH-119054: Add "Permissions and ownership" section to pathlib docs. #120505
Conversation
…ocs. Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and `lchmod()`.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Thanks so much! |
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, @barneygale, I could not cleanly backport this to
|
Sorry, @barneygale, I could not cleanly backport this to
|
…thlib docs. (pythonGH-120505) Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and `lchmod()`. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>. (cherry picked from commit e4a97a7) Co-authored-by: Barney Gale <barney.gale@gmail.com>
GH-120967 is a backport of this pull request to the 3.13 branch. |
…thlib docs. (pythonGH-120505) Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and `lchmod()`. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>. (cherry picked from commit e4a97a7) Co-authored-by: Barney Gale <barney.gale@gmail.com>
GH-120968 is a backport of this pull request to the 3.12 branch. |
When backporting pythonGH-120505 to 3.12, I accidentally transposed "Permissions and ownership" into "Ownership and permissions". Swap it back for consistency with 3.13 and main.
…ocs. (python#120505) Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and `lchmod()`. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…ocs. (python#120505) Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and `lchmod()`. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…ocs. (python#120505) Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and `lchmod()`. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Add dedicated subsection for
pathlib.Path.owner()
,group()
,chmod()
andlchmod()
.If we implement GH-64978,
chown()
could be added to this section.📚 Documentation preview 📚: https://cpython-previews--120505.org.readthedocs.build/en/120505/library/pathlib.html#permissions-and-ownership