This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients barneygale, eryksun, serhiy.storchaka, steve.dower
Date 2021-04-08.07:15:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
AFAIK you can set arbitrary path as user home directory. So home directories of different users can even not be on the same disk, and the last component of the path can be different from the user name.

os.path.expanduser() has many flaws, and it just "guess" the home directory for other users. It is difficult to fix os.path.expanduser() due to backward compatibility, but we should do better in pathlib from start.
Date User Action Args
2021-04-08 07:15:22serhiy.storchakasetrecipients: + serhiy.storchaka, eryksun, steve.dower, barneygale
2021-04-08 07:15:22serhiy.storchakasetmessageid: <>
2021-04-08 07:15:22serhiy.storchakalinkissue39899 messages
2021-04-08 07:15:22serhiy.storchakacreate