Skip to content
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

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Jun 14, 2024

Add dedicated subsection for pathlib.Path.owner(), group(), chmod() and lchmod().

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

…ocs.

Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and
`lchmod()`.
Doc/library/pathlib.rst Outdated Show resolved Hide resolved
Doc/library/pathlib.rst Outdated Show resolved Hide resolved
Doc/library/pathlib.rst Outdated Show resolved Hide resolved
Doc/library/pathlib.rst Outdated Show resolved Hide resolved
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@barneygale
Copy link
Contributor Author

Thanks so much!

@barneygale barneygale enabled auto-merge (squash) June 24, 2024 18:45
@barneygale barneygale merged commit e4a97a7 into python:main Jun 24, 2024
25 checks passed
@miss-islington-app
Copy link

Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington-app
Copy link

Sorry, @barneygale, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker e4a97a7fb1c03d3b6ec6efbeff553a0230e003c7 3.13

@miss-islington-app
Copy link

Sorry, @barneygale, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker e4a97a7fb1c03d3b6ec6efbeff553a0230e003c7 3.12

barneygale added a commit to barneygale/cpython that referenced this pull request Jun 24, 2024
…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>
@bedevere-app
Copy link

bedevere-app bot commented Jun 24, 2024

GH-120967 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jun 24, 2024
barneygale added a commit to barneygale/cpython that referenced this pull request Jun 24, 2024
…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>
@bedevere-app
Copy link

bedevere-app bot commented Jun 24, 2024

GH-120968 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Jun 24, 2024
barneygale added a commit that referenced this pull request Jun 24, 2024
…docs. (GH-120505) (#120967)

Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and
`lchmod()`.

(cherry picked from commit e4a97a7)
barneygale added a commit that referenced this pull request Jun 24, 2024
…docs. (GH-120505) (#120968)

Add dedicated subsection for `pathlib.owner()`, `group()`, `chmod()` and
`lchmod()`.

(cherry picked from commit e4a97a7)
barneygale added a commit to barneygale/cpython that referenced this pull request Jun 29, 2024
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.
barneygale added a commit that referenced this pull request Jun 29, 2024
When backporting GH-120505 to 3.12, I accidentally transposed
"Permissions and ownership" into "Ownership and permissions".
Swap it back for consistency with 3.13 and main.
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
…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>
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…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>
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news topic-pathlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants