◐ Shell
clean mode source ↗

bpo-38822: Fixed os.stat failing on inaccessible directories with a trailing slash, rather than falling back to the parent directory's metadata by zooba · Pull Request #25527 · python/cpython

…railing slash, rather than falling back to the parent directory's metadata.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Apr 22, 2021
…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 fe63a40)

Co-authored-by: Steve Dower <steve.dower@python.org>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Apr 22, 2021
…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 fe63a40)

Co-authored-by: Steve Dower <steve.dower@python.org>

@zooba zooba deleted the bpo-38822 branch

April 22, 2021 19:46

miss-islington added a commit that referenced this pull request

Apr 22, 2021
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 fe63a40)

Co-authored-by: Steve Dower <steve.dower@python.org>

miss-islington added a commit that referenced this pull request

Apr 22, 2021
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 fe63a40)

Co-authored-by: Steve Dower <steve.dower@python.org>