Skip to content

netrc does not work if $HOME is not set #72521

@dmerejkowsky

Description

@dmerejkowsky
BPO 28334
Nosy @terryjreedy, @vstinner, @berkerpeksag, @zhangyangyu, @dmerejkowsky
PRs
  • bpo-28334: fix netrc not working when $HOME is not set #123
  • bpo-28334: netrc() now uses expanduser() to find .netrc file #4537
  • Files
  • netrc-use-expanduser.patch
  • netrc-use-expanduser-with-test.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-11-25.10:39:33.765>
    created_at = <Date 2016-10-01.15:35:54.397>
    labels = ['3.7', 'type-bug', 'library']
    title = 'netrc does not work if $HOME is not set'
    updated_at = <Date 2017-11-25.10:39:33.763>
    user = 'https://github.com/dmerejkowsky'

    bugs.python.org fields:

    activity = <Date 2017-11-25.10:39:33.763>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-11-25.10:39:33.765>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2016-10-01.15:35:54.397>
    creator = 'Dimitri Merejkowsky'
    dependencies = []
    files = ['44914', '44933']
    hgrepos = []
    issue_num = 28334
    keywords = ['patch']
    message_count = 9.0
    messages = ['277824', '277847', '277894', '278276', '278438', '278447', '278932', '306950', '306951']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'vstinner', 'berker.peksag', 'xiang.zhang', 'Dimitri Merejkowsky']
    pr_nums = ['123', '4537']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28334'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions