Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.8] bpo-38883: Don't use POSIX $HOME in pathlib.Path.home/expanduser on Windows (GH-17961) #18229

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 28, 2020

In bpo-36264 os.path.expanduser was changed to ignore HOME on Windows.

Path.expanduser/home still honored HOME despite being documented as behaving the same
as os.path.expanduser. This makes them also ignore HOME so that both implementations
behave the same way again.
(cherry picked from commit c45a2aa)

Co-authored-by: Christoph Reiter reiter.christoph@gmail.com

https://bugs.python.org/issue38883

…on Windows (pythonGH-17961)

In bpo-36264 os.path.expanduser was changed to ignore HOME on Windows.

Path.expanduser/home still honored HOME despite being documented as behaving the same
as os.path.expanduser. This makes them also ignore HOME so that both implementations
behave the same way again.
(cherry picked from commit c45a2aa)

Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
@miss-islington
Copy link
Contributor Author

@lazka and @zooba: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 595b516 into python:3.8 Jan 28, 2020
@miss-islington miss-islington deleted the backport-c45a2aa-3.8 branch January 28, 2020 09:59
@miss-islington
Copy link
Contributor Author

@lazka and @zooba: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@lazka and @zooba: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants