Paul Moore writes:
> Let's keep it simple. I'm -1 on the request, I don't think expandvars
> should be added to pathlib.
Would you be happier with a getenv_as_path, so that one could do
p = Path.getenv_as_path('HOME') / Path('.python_history')
and on my Mac p == Path('/Users/steve/.python_history')?
Steve
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/MD34WBCVHP7CCRLRZNAPOJBZVHS6NOEM/
Code of Conduct: http://python.org/psf/codeofconduct/