Skip to content

Remove type_dict and related logic #207

Closed

Description

@rozyczko

Weakref-ed dictionaries have been a source of constant issues. Given that the new base classes don't use those dictionaries, we should consider removing them and simplifying the logic.

Activity

  1. added
    [scope] significant
    [priority] medium
    [area] base classes
    on Feb 17, 2026
  2. added this to the version 3.0 milestone on Feb 18, 2026
  3. damskii9992 commented on May 7, 2026

    @damskii9992
    Contributor

    With the final class using them being deprecated in #242 , we can finally move forward on this once we make another release. As we need at least 1 release where the classes has been deprecated before finally removing them.

  4. rozyczko commented on Oct 17, 2026

    @rozyczko
    MemberAuthor

    Can we just reduce Map to a thin registry over a single WeakValueDictionary?
    We can then delete _EntryList, __type_dict, all finalizers, and the graph algorithms entirely

  5. linked a pull request that will close this issueRemove typedict #338on Oct 23, 2026
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

    [area] base classes[priority] medium[scope] significant

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions