Skip to content

sys.stderr should be line-buffered when stderr is not a TTY #57810

Closed
@pitrou

Description

@pitrou
BPO 13601
Nosy @gvanrossum, @ncoghlan, @pitrou, @vstinner, @pjenvey, @benjaminp, @Bluehorn, @serhiy-storchaka, @miss-islington, @jendrikseipp, @hauntsaninja
PRs
  • bpo-13601: always use line-buffering for sys.stderr #17646
  • bpo-13601: Mention stderr's line buffering in What's New #20168
  • 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 2020-01-01.22:22:26.851>
    created_at = <Date 2011-12-14.13:11:31.801>
    labels = ['interpreter-core', 'type-bug', 'library', '3.9', 'expert-IO']
    title = 'sys.stderr should be line-buffered when stderr is not a TTY'
    updated_at = <Date 2020-05-18.05:08:00.186>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2020-05-18.05:08:00.186>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-01-01.22:22:26.851>
    closer = 'pitrou'
    components = ['Interpreter Core', 'Library (Lib)', 'IO']
    creation = <Date 2011-12-14.13:11:31.801>
    creator = 'pitrou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 13601
    keywords = ['patch']
    message_count = 21.0
    messages = ['149447', '149454', '149560', '149561', '149887', '149889', '254027', '254028', '261852', '261853', '261916', '296303', '296655', '304064', '358593', '359171', '359172', '359527', '369004', '369159', '369177']
    nosy_count = 13.0
    nosy_names = ['gvanrossum', 'gjb1002', 'ncoghlan', 'pitrou', 'vstinner', 'pjenvey', 'benjamin.peterson', 'stutzbach', 'torsten', 'serhiy.storchaka', 'miss-islington', 'jendrik', 'hauntsaninja']
    pr_nums = ['17646', '20168']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13601'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibPython modules in the Lib dirtopic-IOtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions