FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-127146: Emscripten: Fix pathlib glob_dotdot test (GH-135624) by miss-islington · Pull Request #135653 · python/cpython · GitHub

/ cpython Public

[3.14] gh-127146: Emscripten: Fix pathlib glob_dotdot test (GH-135624) - #135653

Merged
freakboy3742 merged 1 commit into
python:3.14from
miss-islington:backport-e4ccd46-3.14
Jun 18, 2025
Merged

[3.14] gh-127146: Emscripten: Fix pathlib glob_dotdot test (GH-135624)#135653
freakboy3742 merged 1 commit into
python:3.14from
miss-islington:backport-e4ccd46-3.14

Conversation

miss-islington commented Jun 18, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

The Emscripten path resolver uses the same mechanism for resolving ..
at a file system root as for resolving symlinks. This is because
roots don't store their mountpoints. If the parent of a node is itself,
it is a root but it might be a mountpoint in some other file system.

If a path has enough ..'s at the root, it will return ELOOP.
Enough turns out to be 49.
(cherry picked from commit e4ccd46)

Co-authored-by: Hood Chatham roberthoodchatham@gmail.com

…35624)

The Emscripten path resolver uses the same mechanism for resolving `..`
at a file system root as for resolving symlinks. This is because
roots don't store their mountpoints. If the parent of a node is itself,
it is a root but it might be a mountpoint in some other file system.

If a path has enough `..`'s at the root, it will return ELOOP.
Enough turns out to be 49.
(cherry picked from commit e4ccd46)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
freakboy3742 enabled auto-merge (squash) June 18, 2025 03:21
freakboy3742 merged commit 9f63a54 into python:3.14 Jun 18, 2025
miss-islington deleted the backport-e4ccd46-3.14 branch January 2, 2026 18:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL