Skip to content

Ignored ResourceWarning warnings leak memory in warnings registries #71722

@ghost

Description

@ghost
BPO 27535
Nosy @rhettinger, @ncoghlan, @vstinner, @bitdancer, @serhiy-storchaka, @thehesiod, @AraHaan
PRs
  • bpo-27535: Fix memory leak with warnings ignore #4489
  • [WIP] bpo-27535: Optimize warnings #4502
  • bpo-27535: Optimize warnings.warn() #4508
  • bpo-27535: Cleanup create_filter() #4516
  • [3.6] bpo-27535: Fix memory leak with warnings ignore (GH-4489) #4587
  • [2.7] bpo-27535: Fix memory leak with warnings ignore #4588
  • Files
  • memory.py
  • memory2.py
  • bench_ignore_warn.py
  • bench_c_warn.patch
  • bench_ignore_warn_c.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 = 'https://github.com/vstinner'
    closed_at = None
    created_at = <Date 2016-07-17.01:53:42.897>
    labels = ['3.7', 'expert-IO', 'performance']
    title = 'Ignored ResourceWarning warnings leak memory in warnings registries'
    updated_at = <Date 2018-05-23.21:26:16.382>
    user = None

    bugs.python.org fields:

    activity = <Date 2018-05-23.21:26:16.382>
    actor = 'vstinner'
    assignee = 'vstinner'
    closed = False
    closed_date = None
    closer = None
    components = ['IO']
    creation = <Date 2016-07-17.01:53:42.897>
    creator = '\xd0\x90\xd0\xbb\xd0\xb5\xd0\xba\xd1\x81\xd0\xb0\xd0\xbd\xd0\xb4\xd1\x80 \xd0\x9a\xd0\xb0\xd1\x80\xd0\xbf\xd0\xb8\xd0\xbd\xd1\x81\xd0\xba\xd0\xb8\xd0\xb9'
    dependencies = []
    files = ['43762', '47281', '47282', '47286', '47287']
    hgrepos = []
    issue_num = 27535
    keywords = ['patch']
    message_count = 39.0
    messages = ['270600', '270608', '270609', '270644', '270647', '270666', '306636', '306645', '306648', '306649', '306652', '306661', '306664', '306695', '306696', '306712', '306716', '306721', '306723', '306725', '306735', '306758', '306773', '306828', '306919', '306920', '306923', '307057', '307058', '307059', '307061', '307133', '307135', '307137', '307139', '307161', '307165', '317421', '317460']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'ncoghlan', 'vstinner', 'r.david.murray', 'serhiy.storchaka', 'thehesiod', 'Decorater', '\xd0\x90\xd0\xbb\xd0\xb5\xd0\xba\xd1\x81\xd0\xb0\xd0\xbd\xd0\xb4\xd1\x80 \xd0\x9a\xd0\xb0\xd1\x80\xd0\xbf\xd0\xb8\xd0\xbd\xd1\x81\xd0\xba\xd0\xb8\xd0\xb9', 'jbfzs']
    pr_nums = ['4489', '4502', '4508', '4516', '4587', '4588']
    priority = 'low'
    resolution = None
    stage = 'resolved'
    status = 'open'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue27535'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions