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 gjb1002
Recipients chomo, christian.heimes, georg.brandl, gjb1002, josiahcarlson, loewis, mwh
Date 2009-04-30.12:56:52
SpamBayes Score 4.390832e-11
Marked as misclassified No
Message-id <1241096219.81.0.380749077368.issue957650@psf.upfronthosting.co.za>
In-reply-to
Content
Just ran into this myself, and would agree with Christian's comments. On
my system, my home directory is a mounted network drive, hence "H:\". It
was a bit of a surprise when os.path.expanduser("~fred") returned
"H:\\fred"...

This seems broken to me. It's surely better to have reliable functions
that either work or return the path unchanged, than ones that guess and
are wrong some of the time. At least in the above case it should be
possible to add a special case.

Will this be considered for Python 2.7 now? I'd suggest opening a new
bug or reopening this one if so.
History
Date User Action Args
2009-04-30 12:57:00gjb1002setrecipients: + gjb1002, mwh, loewis, georg.brandl, josiahcarlson, chomo, christian.heimes
2009-04-30 12:56:59gjb1002setmessageid: <1241096219.81.0.380749077368.issue957650@psf.upfronthosting.co.za>
2009-04-30 12:56:58gjb1002linkissue957650 messages
2009-04-30 12:56:57gjb1002create