bpo-28334: netrc() now uses expanduser() to find .netrc file by berkerpeksag · Pull Request #4537 · python/cpython
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
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
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
sloria added a commit to sloria/tinynetrc that referenced this pull request
Avoids an exception when $HOME is not set. This behavior matches the behavior in Python 3.7 See python/cpython#4537 close #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters