[issue5471] os.path.expanduser('~') doesnt works correctly when HOME is '/'

2012-05-09 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: See issue #14768. -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue5471] os.path.expanduser('~') doesnt works correctly when HOME is '/'

2009-04-05 Thread Georg Brandl
Georg Brandl added the comment: Thanks, committed in r71241. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker ___ ___

[issue5471] os.path.expanduser('~') doesnt works correctly when HOME is '/'

2009-03-10 Thread Guilherme Polo
Guilherme Polo added the comment: Patch with a test attached. -- keywords: +patch message_count: 1.0 -> 2.0 nosy: +gpolo nosy_count: 1.0 -> 2.0 versions: +Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file13297/issue_5471.diff ___

[issue5471] os.path.expanduser('~') doesnt works correctly when HOME is '/'

2009-03-10 Thread pancake
New submission from pancake : When the HOME path is just '/' python says that the home path is "" (zero length string) I was able to reproduce this issue in 2.5.2 and 2.6 (no idea about 3.0) Here's an example: $ HOME=/ python -c 'import os;print os.path.expanduser("~")' $ HOME=/tmp python -c