Skip to content

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

Merged
barneygale merged 2 commits into
python:3.12from
barneygale:backport-7092b3f-3.12
Jan 16, 2024
Merged

[3.12] GH-78988: Document pathlib.Path.glob() exception propagation. (GH-114036)#114154
barneygale merged 2 commits into
python:3.12from
barneygale:backport-7092b3f-3.12

Conversation

@barneygale

@barneygalebarneygale commented Jan 16, 2024

Copy link
Copy Markdown
Contributor

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 <barney.gale@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip newstopic-pathlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@barneygale