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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/MD34WBCVHP7CCRLRZNAPOJBZVHS6NOEM/ Code of Conduct: http://python.org/psf/codeofconduct/