[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`
Steve Dower
report at bugs.python.org
Wed Apr 7 14:25:29 EDT 2021
Steve Dower <steve.dower at python.org> added the comment:
> Firstly, `os.path.expanduser()` is already documented to return the path unchanged if the home directory can't be resolved:
Ah, too bad. Doesn't prevent us from changing it, but hopefully it means that everyone using it is already checking the result and not blindly using it.
> I can understand why this could be seen as change for change's sake. In fact this code removal greatly aids my work towards addressing bpo-24132.
In light of this, did you mean to close the issue? Or do you still want to pursue making the change?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39899>
_______________________________________
More information about the Python-bugs-list
mailing list