[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-38883: Don't honor POSIX `HOME` in `pathlib.Path.home/expanduser` on Windows by lazka · Pull Request #17961 · python/cpython

the-knights-who-say-ni

… on Windows

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.

lazka mentioned this pull request

Jan 18, 2020

Closed

zooba merged commit c45a2aa into python:master

Jan 28, 2020

9 checks passed

Azure Pipelines PR #20200112.14 succeeded

Details

bedevere/issue-number Issue number 38883 found

Details

bedevere/news News entry found in Misc/NEWS.d

continuous-integration/travis-ci/pr The Travis CI build passed

Details

miss-islington added a commit to miss-islington/cpython that referenced this pull request

Jan 28, 2020

…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 added a commit that referenced this pull request

Jan 28, 2020
…on Windows (GH-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>

shihai1991 added a commit to shihai1991/cpython that referenced this pull request

Jan 31, 2020
…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.