Skip to content

Conversation

@barneygale
Copy link
Contributor

@barneygalebarneygale 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.
@barneygalebarneygale marked this pull request as ready for review July 20, 2025 17:43
@barneygalebarneygale merged commit 2bd4ff0 into python:mainJul 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 freeto 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

@barneygale