Author Dimitri Merejkowsky
Recipients Dimitri Merejkowsky, berker.peksag, terry.reedy
Date 2016-10-10.18:09:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476122995.93.0.826346433658.issue28334@psf.upfronthosting.co.za>
In-reply-to
Content
> if it make sense to run this on Windows

I found this issue while running cross-platform code. I needed to store some credentials, did not mind having them in plain-text and I thought .netrc was a good place for this. (did not need to re-invent the wheel ...)

>  don't know what unix users might reasonbly expect.

Well, I guess as a bonus of this patch we could add a link to the `os.path.expanduser` section[1] in `netrc` documentation.

The behavior when $HOME is not set is properly documented there.

[1] https://docs.python.org/3/library/os.path.html#os.path.expanduser
History
Date User Action Args
2016-10-10 18:09:55Dimitri Merejkowskysetrecipients: + Dimitri Merejkowsky, terry.reedy, berker.peksag
2016-10-10 18:09:55Dimitri Merejkowskysetmessageid: <1476122995.93.0.826346433658.issue28334@psf.upfronthosting.co.za>
2016-10-10 18:09:55Dimitri Merejkowskylinkissue28334 messages
2016-10-10 18:09:55Dimitri Merejkowskycreate