Content-Length: 301566 | pFad | https://github.com/python/cpython/pull/135653

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

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

Merged
freakboy3742 merged 1 commit intopython: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 intopython:3.14from
miss-islington:backport-e4ccd46-3.14

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jun 18, 2025

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 freakboy3742 enabled auto-merge (squash) June 18, 2025 03:21
@freakboy3742 freakboy3742 merged commit 9f63a54 into python:3.14 Jun 18, 2025
50 checks passed
@miss-islington miss-islington deleted the backport-e4ccd46-3.14 branch January 2, 2026 18:51
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/135653

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy