Skip to content

input() uses sys.__stdout__ instead of sys.stdout for prompt #68590

@KeitaKita

Description

@KeitaKita
mannequin
BPO 24402
Nosy @pitrou, @taleinat, @berkerpeksag, @vadmium, @serhiy-storchaka, @eryksun, @zhangyangyu
Files
  • issue24402.fix_only.patch: patch with just a fix (no tests)
  • input-terminal.patch: Now with test case
  • 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 = 'https://github.com/vadmium'
    closed_at = <Date 2015-10-10.10:04:49.822>
    created_at = <Date 2015-06-07.09:30:52.044>
    labels = ['interpreter-core', 'type-bug']
    title = 'input() uses sys.__stdout__ instead of sys.stdout for prompt'
    updated_at = <Date 2015-10-10.10:04:49.821>
    user = 'https://bugs.python.org/KeitaKita'

    bugs.python.org fields:

    activity = <Date 2015-10-10.10:04:49.821>
    actor = 'martin.panter'
    assignee = 'martin.panter'
    closed = True
    closed_date = <Date 2015-10-10.10:04:49.822>
    closer = 'martin.panter'
    components = ['Interpreter Core']
    creation = <Date 2015-06-07.09:30:52.044>
    creator = 'Keita Kita'
    dependencies = []
    files = ['39697', '40707']
    hgrepos = []
    issue_num = 24402
    keywords = ['patch']
    message_count = 15.0
    messages = ['244949', '244957', '245279', '245280', '252436', '252455', '252458', '252676', '252677', '252683', '252686', '252688', '252689', '252690', '252699']
    nosy_count = 9.0
    nosy_names = ['pitrou', 'taleinat', 'python-dev', 'berker.peksag', 'martin.panter', 'serhiy.storchaka', 'eryksun', 'xiang.zhang', 'Keita Kita']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24402'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions