]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527)
authorSteve Dower <steve.dower@python.org>
Thu, 22 Apr 2021 19:45:02 +0000 (20:45 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Apr 2021 19:45:02 +0000 (20:45 +0100)
commitfe63a401a9b3ca1751b81b5d6ddb2beb7f3675c1
tree6276ea85a4f00f9a3c9c6d7637a27080287c5238
parent2a3f4899c63806439e5bcea0c30f7e6a6295a763
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.
Misc/NEWS.d/next/Windows/2021-04-22-19-49-20.bpo-38822.jgdPmq.rst [new file with mode: 0644]
Modules/posixmodule.c