Message390504
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:22 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, eryksun, steve.dower, barneygale |
2021-04-08 07:15:22 | serhiy.storchaka | set | messageid: <1617866122.63.0.692657957848.issue39899@roundup.psfhosted.org> |
2021-04-08 07:15:22 | serhiy.storchaka | link | issue39899 messages |
2021-04-08 07:15:22 | serhiy.storchaka | create | |
|