[issue28334] netrc does not work if $HOME is not set
Dimitri Merejkowsky
report at bugs.python.org
Sat Oct 1 11:35:54 EDT 2016
New submission from Dimitri Merejkowsky:
If $HOME is not set, netrc will raise an exception.
Attached patch fixes the problem by using `os.path.expanduser` instead
----------
components: Library (Lib)
files: netrc-use-expanduser.patch
keywords: patch
messages: 277824
nosy: Dimitri Merejkowsky
priority: normal
severity: normal
status: open
title: netrc does not work if $HOME is not set
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file44914/netrc-use-expanduser.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28334>
_______________________________________
More information about the Python-bugs-list
mailing list