Skip to content

io.FileIO calls flush() after file closed #49950

@brianquinlan

Description

@brianquinlan
BPO 5700
Nosy @terryjreedy, @brianquinlan, @pitrou, @vadmium, @serhiy-storchaka
Files
  • remove_flush.diff: Patch to remove the call to flush by _io._IOBase
  • cooperation.diff: Use cooperative inheritance
  • fileio_flush_closed.patch
  • fileio_flush_closed_2.patch
  • fileio_flush_closed-2.7.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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2015-02-20.22:37:46.140>
    created_at = <Date 2009-04-05.15:35:55.732>
    labels = ['type-bug', 'library', 'expert-IO']
    title = 'io.FileIO calls flush() after file closed'
    updated_at = <Date 2015-02-22.22:33:59.994>
    user = 'https://github.com/brianquinlan'

    bugs.python.org fields:

    activity = <Date 2015-02-22.22:33:59.994>
    actor = 'python-dev'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2015-02-20.22:37:46.140>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)', 'IO']
    creation = <Date 2009-04-05.15:35:55.732>
    creator = 'bquinlan'
    dependencies = []
    files = ['13620', '13677', '36889', '38147', '38148']
    hgrepos = []
    issue_num = 5700
    keywords = ['patch']
    message_count = 22.0
    messages = ['85521', '85616', '85890', '85894', '85895', '85900', '85901', '85902', '85913', '85914', '85915', '85917', '139205', '228234', '229143', '234880', '236039', '236040', '236074', '236337', '236339', '236417']
    nosy_count = 6.0
    nosy_names = ['terry.reedy', 'bquinlan', 'pitrou', 'python-dev', 'martin.panter', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue5700'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    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