[issue19776] Provide expanduser() on Path objects

Claudiu Popa report at bugs.python.org
Sat Jul 19 08:30:24 CEST 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue19776>
_______________________________________


More information about the Python-bugs-list mailing list