Skip to content

Make old-style classes weak referenceable #52515

Closed

Description

@pitrou
BPO 8268
Nosy @amauryfa, @pitrou
Files
  • weakref-classobj.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 = None
    closed_at = <Date 2010-03-31.21:38:49.209>
    created_at = <Date 2010-03-30.22:58:12.632>
    labels = ['interpreter-core', 'type-feature']
    title = 'Make old-style classes weak referenceable'
    updated_at = <Date 2010-03-31.21:38:49.206>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2010-03-31.21:38:49.206>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-03-31.21:38:49.209>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2010-03-30.22:58:12.632>
    creator = 'pitrou'
    dependencies = []
    files = ['16702']
    hgrepos = []
    issue_num = 8268
    keywords = ['patch']
    message_count = 3.0
    messages = ['101957', '101958', '102035']
    nosy_count = 3.0
    nosy_names = ['amaury.forgeotdarc', 'pitrou', 'stutzbach']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue8268'
    versions = ['Python 2.7']

    Activity

    1. pitrou commented on Mar 30, 2010

      @pitrou
      MemberAuthor

      New-style classes are weak referenceable, but old-style classes are not.
      For a proper implementation of ABC caches without any memory leaks (see bpo-2521), this limitation should be raised.

    2. added
      interpreter-core
      type-feature
      on Mar 30, 2010
    3. pitrou commented on Mar 30, 2010

      @pitrou
      MemberAuthor

      Here is a patch.

    4. pitrou commented on Mar 31, 2010

      @pitrou
      MemberAuthor

      Fixed in r79535.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-coretype-feature

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions