Message160321
| Author |
bfroehle |
| Recipients |
bfroehle |
| Date |
2012年05月10日.02:25:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1336616719.53.0.0181039084053.issue14768@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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'. |
|
History
|
|---|
| 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 |
|