Skip to content

asyncore.file_wrapper should implement __del__ and call close there to prevent resource leaks and behave like socket.socket does. #55662

@amajorek

Description

@amajorek
mannequin
BPO 11453
Nosy @vstinner, @giampaolo
Files
  • issue11453.patch: Adding exit asyncore.file_wrapper
  • 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 2014-06-27.21:54:24.509>
    created_at = <Date 2011-03-09.19:29:51.690>
    labels = ['library', 'performance']
    title = 'asyncore.file_wrapper should implement __del__ and call close there to prevent resource leaks and behave like socket.socket does.'
    updated_at = <Date 2014-07-28.23:01:59.868>
    user = 'https://bugs.python.org/amajorek'

    bugs.python.org fields:

    activity = <Date 2014-07-28.23:01:59.868>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-06-27.21:54:24.509>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2011-03-09.19:29:51.690>
    creator = 'amajorek'
    dependencies = []
    files = ['21236']
    hgrepos = []
    issue_num = 11453
    keywords = ['patch']
    message_count = 7.0
    messages = ['130458', '131082', '137457', '221742', '221743', '221745', '224202']
    nosy_count = 5.0
    nosy_names = ['vstinner', 'giampaolo.rodola', 'amajorek', 'beardedp', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue11453'
    versions = ['Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      performancePerformance or resource usagestdlibPython modules in the Lib dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions