Skip to content

Conversation

@barneygale
Copy link
Contributor

@barneygale barneygale commented May 16, 2025

Adjust pathlib._os.vfspath() so that it doesn't try os.fsdecode(). I don't know whether supporting os.PathLike arguments is a good idea, so it's best to leave it out for now.

Adjust `pathlib._os.vfspath()` so that it doesn't try `os.fsdecode()`. I
don't know whether supporting `os.PathLike` arguments is a good idea, so
it's best to leave it out for now.
@barneygale barneygale marked this pull request as ready for review July 20, 2025 17:43
@barneygale barneygale merged commit 2bd4ff0 into python:main Jul 27, 2025
42 checks passed
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
python#134104)

Adjust `pathlib._os.vfspath()` so that it doesn't try `os.fsdecode()`. I
don't know that supporting `os.PathLike` arguments is a good idea, so
it's best to leave it out for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant