Claudiu Popa added the comment: No, my home directory is actually /root. The attached patch should be clearer now (I hope). Regarding your question, wouldn't checking for this duplicate what os.path.expanduser already does? (Unless checking for the exact same string before returning it.)
---------- Added file: http://bugs.python.org/file35994/issue19776_3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19776> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com