Geoffrey Bache gjb1...@users.sourceforge.net added the comment:
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
Geoffrey Bache gjb1...@users.sourceforge.net added the comment:
In fact, wouldn't a very simple fix be to not return paths that don't
exist? That would probably catch 90% of the cases.
--
___
Python tracker rep...@bugs.python.org
Changes by Martin v. Löwis [EMAIL PROTECTED]:
--
assignee: loewis -
priority: high - normal
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue957650
___
Christian Heimes [EMAIL PROTECTED] added the comment:
I just saw this bug entry in the whatsnew list. The os.path.expanduser()
function handles ~user the wrong way. The (naive) implementation expects
that all user directories are inside a common base path. This is only
true for standalone