Skip to content

io.IOBase destructor silence I/O error on close() by default #62948

@ionelmc

Description

@ionelmc
mannequin
BPO 18748
Nosy @pitrou, @vstinner, @tirkarthi
PRs
  • bpo-18748: io.IOBase destructor now logs close() errors in dev mode #12786
  • bpo-18748: test_io: silence destructor errors #12805
  • bpo-18748: _pyio.IOBase emits unraisable exception #13512
  • bpo-18748: Fix _pyio.IOBase destructor (closed case) #13952
  • Files
  • bug.py
  • 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 2019-06-12.23:14:43.171>
    created_at = <Date 2013-08-15.13:10:42.326>
    labels = ['extension-modules', 'build', '3.8', '3.9', 'type-crash']
    title = 'io.IOBase destructor silence I/O error on close() by default'
    updated_at = <Date 2021-06-28.23:33:12.533>
    user = 'https://bugs.python.org/ionelmc'

    bugs.python.org fields:

    activity = <Date 2021-06-28.23:33:12.533>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-12.23:14:43.171>
    closer = 'vstinner'
    components = ['Build', 'Extension Modules']
    creation = <Date 2013-08-15.13:10:42.326>
    creator = 'ionelmc'
    dependencies = []
    files = ['31301']
    hgrepos = []
    issue_num = 18748
    keywords = ['patch']
    message_count = 39.0
    messages = ['195253', '195319', '195321', '195324', '195325', '195342', '195505', '195507', '195523', '195525', '195527', '195528', '195565', '294551', '294873', '294874', '339502', '339979', '340055', '340056', '340058', '340059', '340062', '340104', '341106', '342483', '342484', '342493', '343270', '343699', '345157', '345160', '345422', '345428', '347240', '347268', '347284', '348515', '396673']
    nosy_count = 9.0
    nosy_names = ['pitrou', 'vstinner', 'ionelmc', 'neologix', 'nikicat', 'zwol', 'Barry Davis', 'xtreak', 'Yhojann Aguilera']
    pr_nums = ['12786', '12805', '13512', '13952']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue18748'
    versions = ['Python 3.6', 'Python 3.8', 'Python 3.9']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9only security fixesbuildThe build process and cross-buildextension-modulesC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        pFad - Phonifier reborn

        Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

        Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


        Alternative Proxies:

        Alternative Proxy

        pFad Proxy

        pFad v3 Proxy

        pFad v4 Proxy