
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2019-11-21 18:45 bylazka, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 17961 | merged | lazka,2020-01-12 09:23 | |
| PR 18229 | merged | miss-islington,2020-01-28 09:42 | |
| Messages (4) | |||
|---|---|---|---|
| msg357196 -(view) | Author: Christoph Reiter (lazka)* | Date: 2019-11-21 18:45 | |
Inissue36264 os.path.expanduser() was changed to no longer use the HOME environment variable on Windows.There are two more ways in the stdlib to get the user directory, pathlib.Path.home() and pathlib.Path.expanduser() which internally use gethomedir() which still uses the HOME environment variable:https://github.com/python/cpython/blob/0aca3a3a1e68b4ca2d334ab5255dfc267719096e/Lib/pathlib.py#L255Since they are documented to work the same as os.path.expanduser() they should be changed to no longer use HOME as well. | |||
| msg360847 -(view) | Author: Steve Dower (steve.dower)*![]() | Date: 2020-01-28 09:42 | |
New changesetc45a2aa9e255b5c7c211faa79f6b23895b64ab27 by Steve Dower (Christoph Reiter) in branch 'master':bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on Windows (GH-17961)https://github.com/python/cpython/commit/c45a2aa9e255b5c7c211faa79f6b23895b64ab27 | |||
| msg360852 -(view) | Author: Steve Dower (steve.dower)*![]() | Date: 2020-01-28 09:59 | |
Thanks, Christoph! | |||
| msg360854 -(view) | Author: miss-islington (miss-islington) | Date: 2020-01-28 09:59 | |
New changeset595b516965ee88b817dc1b3d7713e1f3f263634d by Miss Islington (bot) in branch '3.8':bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on Windows (GH-17961)https://github.com/python/cpython/commit/595b516965ee88b817dc1b3d7713e1f3f263634d | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:23 | admin | set | github: 83064 |
| 2020-01-28 09:59:47 | miss-islington | set | nosy: +miss-islington messages: +msg360854 |
| 2020-01-28 09:59:05 | steve.dower | set | status: open -> closed resolution: fixed messages: +msg360852 stage: patch review -> resolved |
| 2020-01-28 09:42:13 | miss-islington | set | pull_requests: +pull_request17608 |
| 2020-01-28 09:42:11 | steve.dower | set | messages: +msg360847 |
| 2020-01-12 09:23:37 | lazka | set | keywords: +patch stage: patch review pull_requests: +pull_request17369 |
| 2019-11-21 21:00:37 | brett.cannon | set | nosy: +brett.cannon |
| 2019-11-21 18:54:56 | Anthony Sottile | set | nosy: +Anthony Sottile |
| 2019-11-21 18:54:50 | BTaskaya | set | versions: + Python 3.8 |
| 2019-11-21 18:52:36 | BTaskaya | set | nosy: +steve.dower,BTaskaya versions: + Python 3.9, - Python 3.8 |
| 2019-11-21 18:45:12 | lazka | create | |