Skip to content

getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc) #76912

Closed
@gpshead

Description

@gpshead
BPO 32731
Nosy @gpshead, @matrixise, @jarondl, @fangyi-zhou, @jacobtylerwalls
PRs
  • bpo-32731: Specify Exception type of getpass.getuser #5616
  • gh-76912: Raise OSError from any failure in getpass.getuser() #29739
  • 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 = None
    created_at = <Date 2018-01-31.18:02:32.028>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc)'
    updated_at = <Date 2021-11-24.03:33:25.025>
    user = 'https://github.com/gpshead'

    bugs.python.org fields:

    activity = <Date 2021-11-24.03:33:25.025>
    actor = 'jacobtylerwalls'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2018-01-31.18:02:32.028>
    creator = 'gregory.p.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32731
    keywords = ['patch']
    message_count = 4.0
    messages = ['311349', '311358', '312079', '316587']
    nosy_count = 5.0
    nosy_names = ['gregory.p.smith', 'matrixise', 'jarondl', 'fangyizhou', 'jacobtylerwalls']
    pr_nums = ['5616', '29739']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32731'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.11only security fixes3.12only security fixes3.13bugs and security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions