Files
cpython/Doc/library
Barney GaleandGitHub 3f3d82b848 bpo-39899: os.path.expanduser(): don't guess other Windows users' home directories if the basename of the current user's home directory doesn't match their username. (GH-18841)
This makes `ntpath.expanduser()` match `pathlib.Path.expanduser()` in this regard, and is more in line with `posixpath.expanduser()`'s cautious approach.

Also remove the near-duplicate implementation of `expanduser()` in pathlib, and by doing so fix a bug where KeyError could be raised when expanding another user's home directory.
2021-04-07 23:50:13 +01:00
..
2020-12-01 10:41:12 +01:00
2018-09-14 16:57:11 -07:00
2020-10-11 11:13:43 -07:00