[issue37255] Pathlib: Add an expandUserPath method or argument

2019-06-12 Thread Andrea Moro
New submission from Andrea Moro : Assuming the given path contains a '~' character, it would be nice to have a function to expand the given path so any further calls to an .exists doesn't fail. A prototype of the function could be # Expand the home path in *ix based

[issue37255] Pathlib: Add an expandUserPath method or argument

2019-06-12 Thread Andrea Moro
Andrea Moro added the comment: I have completely missed it. Thanks for flagging it. -- ___ Python tracker <https://bugs.python.org/issue37255> ___ ___ Python-bug

[issue37255] Pathlib: Add an expandUserPath method or argument

2019-06-12 Thread Andrea Moro
Change by Andrea Moro : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue37255> ___ ___ Python-bugs-list