Message160321
When $HOME=/, os.path.expanduser('~/a') returns '//a' rather than '/a'.
This regression was created by a partially incorrect resolution to issue #5471, and affects versions 2.7 and 3.2 (at least).
$ HOME=/ python2.7 -c "import os; print os.path.expanduser('~/a')"
//a
$ HOME=/ python3.2 -c "import os; print(os.path.expanduser('~/a'))"
//a
In each case the expected result should be '/a'. |
|
Date |
User |
Action |
Args |
2012-05-10 02:25:19 | bfroehle | set | recipients:
+ bfroehle |
2012-05-10 02:25:19 | bfroehle | set | messageid: <1336616719.53.0.0181039084053.issue14768@psf.upfronthosting.co.za> |
2012-05-10 02:25:19 | bfroehle | link | issue14768 messages |
2012-05-10 02:25:18 | bfroehle | create | |
|