Skip to content

[EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u #76147

Closed
@GuillaumeAldebert

Description

@GuillaumeAldebert
BPO 31966
Nosy @pfmoore, @vstinner, @tjguk, @zware, @serhiy-storchaka, @eryksun, @zooba, @miss-islington
PRs
  • bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. #5754
  • [3.7] bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754) #5852
  • [3.6] bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754) #5853
  • 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/serhiy-storchaka'
    closed_at = <Date 2018-06-16.08:47:53.851>
    created_at = <Date 2017-11-07.09:40:05.730>
    labels = ['easy', 'type-bug', '3.7', 'expert-IO', 'OS-windows']
    title = "[EASY C][Windows] print('hello\\n', end='', flush=True) raises OSError when ran with py -u"
    updated_at = <Date 2018-06-16.08:47:53.850>
    user = 'https://bugs.python.org/GuillaumeAldebert'

    bugs.python.org fields:

    activity = <Date 2018-06-16.08:47:53.850>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2018-06-16.08:47:53.851>
    closer = 'serhiy.storchaka'
    components = ['Windows', 'IO']
    creation = <Date 2017-11-07.09:40:05.730>
    creator = 'Guillaume Aldebert'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31966
    keywords = ['patch', 'easy (C)']
    message_count = 10.0
    messages = ['305726', '305733', '305734', '305744', '305750', '305756', '305762', '312730', '312735', '312736']
    nosy_count = 9.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'Guillaume Aldebert', 'miss-islington']
    pr_nums = ['5754', '5852', '5853']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31966'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions