diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-04-22 20:09:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 20:09:56 (GMT) |
commit | 8e7cebb497e6004715a5475f6b53d8ef9d30a9fa (patch) | |
tree | d655d71da0d577b0fa7ee3e009f33f1d23776163 /Lib/pathlib.py | |
parent | 87a392db40d52cba18ffc67730856e11cb8cf945 (diff) | |
download | cpython-8e7cebb497e6004715a5475f6b53d8ef9d30a9fa.zip cpython-8e7cebb497e6004715a5475f6b53d8ef9d30a9fa.tar.gz cpython-8e7cebb497e6004715a5475f6b53d8ef9d30a9fa.tar.bz2 |
bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527)
It would just fail if the path was inaccessible and had a trailing slash. It should fall back to the parent directory's metadata.
(cherry picked from commit fe63a401a9b3ca1751b81b5d6ddb2beb7f3675c1)
Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Lib/pathlib.py')
0 files changed, 0 insertions, 0 deletions