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 "Querying file type and status" section to pathlib docs #119055

Merged
merged 3 commits into from
May 24, 2024

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented May 14, 2024

Add a dedicated subsection for Path.stat()-related methods, specifically stat(), lstat(), exists(), is_*(), and samefile().


📚 Documentation preview 📚: https://cpython-previews--119055.org.readthedocs.build/

…ib docs

Add a dedicated subsection for `Path.stat()`-related methods, specifically
`stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`.
Copy link
Contributor

@blaisep blaisep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I learned more about Pathlib and rST from this PR !

@barneygale barneygale enabled auto-merge (squash) May 24, 2024 19:06
@barneygale
Copy link
Contributor Author

Thanks very much for the review :)

@barneygale barneygale merged commit 81d6336 into python:main May 24, 2024
25 checks passed
@barneygale barneygale added needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels Jun 2, 2024
@miss-islington-app
Copy link

Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@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 81d63362302187e5cb838c9a7cd857181142e530 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 81d63362302187e5cb838c9a7cd857181142e530 3.12

barneygale added a commit to barneygale/cpython that referenced this pull request Jun 2, 2024
…ib docs (python#119055)

Add a dedicated subsection for `Path.stat()`-related methods, specifically
`stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`.

(cherry picked from commit 81d6336)
barneygale added a commit to barneygale/cpython that referenced this pull request Jun 2, 2024
…o pathlib docs (pythonGH-119055)

Add a dedicated subsection for `Path.stat()`-related methods, specifically
`stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`..
(cherry picked from commit 81d6336)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jun 2, 2024

GH-119951 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 2, 2024
barneygale added a commit to barneygale/cpython that referenced this pull request Jun 2, 2024
…ib docs (python#119055)

Add a dedicated subsection for `Path.stat()`-related methods, specifically
`stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`.

(cherry picked from commit 81d6336)
barneygale added a commit to barneygale/cpython that referenced this pull request Jun 2, 2024
…o pathlib docs (pythonGH-119055)

Add a dedicated subsection for `Path.stat()`-related methods, specifically
`stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`..
(cherry picked from commit 81d6336)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jun 2, 2024

GH-119952 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 2, 2024
barneygale added a commit that referenced this pull request Jun 2, 2024
…lib docs (GH-119055) (#119951)

Add a dedicated subsection for `Path.stat()`-related methods, specifically
`stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`.

(cherry picked from commit 81d6336)
barneygale added a commit that referenced this pull request Jun 2, 2024
…lib docs (GH-119055) (#119952)

Add a dedicated subsection for `Path.stat()`-related methods, specifically
`stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`.

(cherry picked from commit 81d6336)
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…ib docs (python#119055)

Add a dedicated subsection for `Path.stat()`-related methods, specifically
`stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`.
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.

2 participants