Message233154
I thought that USERPROFILE was the preferred environment variable and should be checked before HOME, but I could be wrong. Consistency with the existing expanduser function is more important probably.
There's almost certainly an API to find an arbitrary user directory, but it may only be available to administrators, so the guess is probably necessary anyway. The directory name doesn't necessarily match the user name either, especially since a lot of Windows users these days authenticate with their email address. |
|
Date |
User |
Action |
Args |
2014-12-28 20:07:41 | steve.dower | set | recipients:
+ steve.dower, pitrou, vstinner, Arfrever, cvrebert, neologix, Claudiu.Popa, zach.ware, serhiy.storchaka, vajrasky, antoine.pietri, fletom, rominf |
2014-12-28 20:07:41 | steve.dower | set | messageid: <1419797261.23.0.317766748306.issue19776@psf.upfronthosting.co.za> |
2014-12-28 20:07:41 | steve.dower | link | issue19776 messages |
2014-12-28 20:07:40 | steve.dower | create | |
|