]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-87695: Fix OSError from `pathlib.Path.glob()` (GH-104292)
authorBarney Gale <barney.gale@gmail.com>
Wed, 10 May 2023 17:17:08 +0000 (18:17 +0100)
committerGitHub <noreply@github.com>
Wed, 10 May 2023 17:17:08 +0000 (17:17 +0000)
commita33ce66dca57d4c36b1022fdf3b7e322f3203468
tree65ab2d9b7e48c20ecd03028bbd466e16b0f06c05
parent7a3b03509e5e3e72d8c47137579cccb52548a318
GH-87695: Fix OSError from `pathlib.Path.glob()` (GH-104292)

Fix issue where `pathlib.Path.glob()` raised `OSError` when it encountered
a symlink to an overly long path.
Lib/pathlib.py
Lib/test/test_pathlib.py
Misc/NEWS.d/next/Library/2023-05-08-15-39-00.gh-issue-87695.f6iO7v.rst [new file with mode: 0644]