This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zach.ware
Recipients vkbo, zach.ware
Date 2020-10-14.14:04:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602684264.71.0.543834424725.issue42032@roundup.psfhosted.org>
In-reply-to
Content
AFAIK, tilde expansion is entirely up to your shell rather than Python (unless you use something like `os.path.expanduser` in your own program).

A few debugging questions:
1) What version of what shell(s) do you have on each system?

2) What value do you get from `TESTVAR=~/test python3 -c 'import os;print(os.environ["TESTVAR"])'` on each system?  Is it the same as `TESTVAR=~/test printenv | grep TESTVAR`?

3) What results do you get from the same tests as above, but with `TESTVAR='~/test'`?
History
Date User Action Args
2020-10-14 14:04:24zach.waresetrecipients: + zach.ware, vkbo
2020-10-14 14:04:24zach.waresetmessageid: <1602684264.71.0.543834424725.issue42032@roundup.psfhosted.org>
2020-10-14 14:04:24zach.warelinkissue42032 messages
2020-10-14 14:04:24zach.warecreate