Skip to content

_pyio checks that os.name == 'win32' instead of 'nt' #69069

@CosimoLupo

Description

@CosimoLupo
BPO 24881
Nosy @pfmoore, @vstinner, @tjguk, @4kir4, @embray, @zware, @serhiy-storchaka, @eryksun, @zooba
Files
  • pyio_setmode.diff: call setmode(fd, O_BINARY) if sys.platform in {'win32', 'cygwin'} like in C implementation
  • 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 2015-08-28.19:22:18.911>
    created_at = <Date 2015-08-17.14:11:07.420>
    labels = ['type-bug', 'expert-IO', 'OS-windows']
    title = "_pyio checks that `os.name == 'win32'` instead of 'nt'"
    updated_at = <Date 2016-10-17.10:37:42.399>
    user = 'https://bugs.python.org/CosimoLupo'

    bugs.python.org fields:

    activity = <Date 2016-10-17.10:37:42.399>
    actor = 'vstinner'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2015-08-28.19:22:18.911>
    closer = 'serhiy.storchaka'
    components = ['Windows', 'IO']
    creation = <Date 2015-08-17.14:11:07.420>
    creator = 'Cosimo Lupo'
    dependencies = []
    files = ['40222']
    hgrepos = []
    issue_num = 24881
    keywords = ['patch']
    message_count = 7.0
    messages = ['248728', '248978', '248986', '249290', '249291', '278800', '278801']
    nosy_count = 11.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'akira', 'python-dev', 'erik.bray', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'Cosimo Lupo']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24881'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions