Skip to content

getpass.unix_getpass() always fallback to sys.stdin #62316

@nikratio

Description

@nikratio
mannequin
BPO 18116
Nosy @gpshead, @pitrou, @benjaminp, @alex, @bitdancer, @hynek, @vadmium, @serhiy-storchaka, @vajrasky
Files
  • issue18116.diff
  • getpass_fix_resourcewarning.patch: Patch to fix resourcewarning warning when using getpass
  • getpass_fix_resourcewarning_pass_the_test.patch: Patch to fix resourcewarning warning when using getpass and pass the test
  • getpass_tty_with_encoding_and_test.patch: Patch to fix resourcewarning warning when using getpass with encoding from os module
  • buffered_open_fd_leak.py
  • getpass_fix_works_with_stringio_and_stdout_stream.patch: Patch to fix resourcewarning warning when using getpass and works with stringio and stdout stream
  • getpass_tty.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 2013-07-10.21:13:57.895>
    created_at = <Date 2013-06-01.23:50:06.702>
    labels = ['type-bug', 'library', 'expert-IO']
    title = 'getpass.unix_getpass() always fallback to sys.stdin'
    updated_at = <Date 2014-04-19.03:25:13.040>
    user = 'https://bugs.python.org/nikratio'

    bugs.python.org fields:

    activity = <Date 2014-04-19.03:25:13.040>
    actor = 'martin.panter'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-07-10.21:13:57.895>
    closer = 'r.david.murray'
    components = ['Library (Lib)', 'IO']
    creation = <Date 2013-06-01.23:50:06.702>
    creator = 'nikratio'
    dependencies = []
    files = ['30442', '30444', '30445', '30463', '30482', '30483', '30495']
    hgrepos = []
    issue_num = 18116
    keywords = ['patch']
    message_count = 22.0
    messages = ['190458', '190459', '190460', '190461', '190462', '190468', '190471', '190472', '190473', '190520', '190603', '190706', '190710', '190711', '190714', '190716', '190740', '190746', '192836', '192837', '206999', '216839']
    nosy_count = 12.0
    nosy_names = ['gregory.p.smith', 'pitrou', 'benjamin.peterson', 'stutzbach', 'alex', 'r.david.murray', 'nikratio', 'python-dev', 'hynek', 'martin.panter', 'serhiy.storchaka', 'vajrasky']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue18116'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytopic-IOtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions