Serhiy Storchaka added the comment:

pathlib.Path.home() don't support the user argument for reasons.

The main problem is that os.path.expanduser() for other users is faked on 
Windows. It uses guessing, and perhaps it returns correct result in most cases. 
But in non-standard situations, if current user or other users have non-default 
home directory, it returns wrong result. I don't know wherever it works for 
users with non-ascii names or names containing special characters.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28477>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to