GeezerVison is showing github.com — bpo-28334: netrc() now uses expanduser() to find .netrc file by berkerpeksag · Pull Request #4537 · python/cpython
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Also add more tests to check that proper exceptions are raised
berkerpeksag
changed the title
[DO NOT MERGE] bpo-28334: fix netrc not working when $HOME is not set
bpo-28334: fix netrc not working when $HOME is not set
Nov 25, 2017
berkerpeksag
changed the title
bpo-28334: fix netrc not working when $HOME is not set
bpo-28334: netrc.netrc() now uses os.path.expanduser() to find .netrc
Nov 25, 2017
berkerpeksag
changed the title
bpo-28334: netrc.netrc() now uses os.path.expanduser() to find .netrc
bpo-28334: netrc() now uses expanduser() to find .netrc file
Nov 25, 2017
sloria
added a commit
to sloria/tinynetrc
that referenced
this pull request
Jan 12, 2018
Avoids an exception when $HOME is not set.
This behavior matches the behavior in Python 3.7
See python/cpython#4537
close #2
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.