Sorry, something went wrong.
|
Needs tests and NEWS. |
Sorry, something went wrong.
|
Pretty sure the test failure is unrelated to my changes. |
Sorry, something went wrong.
|
Closing this PR, as it looks like resolving other users' home directories isn't something we can rely on! |
Sorry, something went wrong.
Also slightly re-arrange the internals such that expanduser() calls home().
This is to aid with the creation of an AbstractPath class in bpo-24132,
where cwd() and home() will be abstract methods, but not absolute()
or expanduser().
https://bugs.python.org/issue42998