pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


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

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

s" /> [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 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

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

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 [email protected]

…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 <[email protected]>
@freakboy3742
freakboy3742 enabled auto-merge (squash) June 18, 2025 03:21
@freakboy3742
freakboy3742 merged commit 9f63a54 into python:3.14 Jun 18, 2025
@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

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy