-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand ~
if used in path
#497
Comments
Pathlib has a Path.home(). |
I was thinking of The problem I'm having with this is deciding which paths we can apply this to, i.e., which path variables is allowed to accept full paths |
It is tricky to reconcile different OS/platforms due to different conventions, e.g. One option is to not support any of them, so that we:
Stick with status quo where the user would have to specify the complete pathname: this is good since it is unambiguous. |
Use
expanduser
when~
is detected in pathsThe text was updated successfully, but these errors were encountered: