]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-78988: Document `pathlib.Path.glob()` exception propagation. (GH-114036...
authorBarney Gale <barney.gale@gmail.com>
Tue, 16 Jan 2024 22:39:09 +0000 (22:39 +0000)
committerGitHub <noreply@github.com>
Tue, 16 Jan 2024 22:39:09 +0000 (22:39 +0000)
commit0ee681a665da36267d9e87ece472b9a9c5da9c13
tree04624329771c02e0cd4c02a0b772d4390fe57a6d
parent59da12613afd9241e5afed863315081788d1ce00
[3.12] GH-78988: Document `pathlib.Path.glob()` exception propagation. (GH-114036) (#114154)

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

(cherry picked from commit 7092b3f1319269accf4c02f08256d51f111b9ca3)
Doc/library/pathlib.rst