You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows uses "_netrc" rather than ".netrc".
Our implementation should simply try both.
We might want something like this...
if'NETRC'inos.environ:
NETRC_FILES= (os.environ['NETRC'],)
else:
try:
NETRC_FILES= (os.path.expanduser('~/.netrc'), os.path.expanduser('~/_netrc'))
exceptKeyError:
# May be raised if no user home directory is set.NETRC_FILES= ()
As part of this change we probably also want to make sure that any netrc file permission error or parse error simply results in netrc permissions not being used, rather than hard erroring.
Activity
sethmlarson commentedon Aug 6, 2019
This issue has been fixed