Staging
v0.5.1
https://github.com/python/cpython
Revision 595b516965ee88b817dc1b3d7713e1f3f263634d authored by Miss Islington (bot) on 28 January 2020, 09:59:43 UTC, committed by GitHub on 28 January 2020, 09:59:43 UTC

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 c45a2aa9e255b5c7c211faa79f6b23895b64ab27)

Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
1 parent 41f4dc3
History
Tip revision: 595b516965ee88b817dc1b3d7713e1f3f263634d authored by Miss Islington (bot) on 28 January 2020, 09:59:43 UTC
bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on Windows (GH-17961)
Tip revision: 595b516
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.7 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.0 KB
README.rst -rw-r--r-- 9.7 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.4 KB
configure.ac -rw-r--r-- 162.5 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 44.2 KB
setup.py -rw-r--r-- 101.7 KB

README.rst

back to top