[issue957650] Fix for bugs relating to ntpath.expanduser()

2009-04-30 Thread Geoffrey Bache
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

[issue957650] Fix for bugs relating to ntpath.expanduser()

2009-04-30 Thread Geoffrey Bache
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

[issue957650] Fix for bugs relating to ntpath.expanduser()

2008-10-15 Thread Martin v. Löwis
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 ___

[issue957650] Fix for bugs relating to ntpath.expanduser()

2008-10-02 Thread Christian Heimes
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