[issue28334] netrc does not work if $HOME is not set
Berker Peksag
report at bugs.python.org
Sun Oct 2 00:00:57 EDT 2016
Berker Peksag added the comment:
Thanks for the patch, Dimitri. I think this is a reasonable improvement. However, since we are changing the behavior of the netrc() class, I'm not sure this can be considered as a bug fix.
In any case, 3.3 and 3.4 are in security-fix-only mode so I'm going to remove them from the versions field.
We need two things from you to move this forward:
1. A test. It should go in Lib/test/test_netrc.py. You can use
env = support.EnvironmentVarGuard()
env.unset('HOME')
to test the new behavior.
2. A CLA form. You can sign it online at https://www.python.org/psf/contrib/contrib-form/
----------
nosy: +berker.peksag
stage: -> patch review
versions: -Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28334>
_______________________________________
More information about the Python-bugs-list
mailing list