Skip to content

[3.12] GH-78988: Document pathlib.Path.glob() exception propagation. (GH-114036) #114154

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

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Jan 16, 2024

We propagate the OSError from the is_dir() call on the top-level
directory, and suppress all others.
(cherry picked from commit 7092b3f)


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

…python#114036)

We propagate the `OSError` from the `is_dir()` call on the top-level
directory, and suppress all others.

(cherry picked from commit 7092b3f)
…gation. (pythonGH-114036)

We propagate the `OSError` from the `is_dir()` call on the top-level
directory, and suppress all others..
(cherry picked from commit 7092b3f)

Co-authored-by: Barney Gale <[email protected]>
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.

1 participant