Skip to content

TypedPython: virtual objects, refcount elision and region allocation (SPEC N-12) #143

Closed

Description

@b-re-w

User instruction (2026-10-03): go further toward Rust while guaranteeing CPython identity. Design: docs/design/typedpython.md §4.3.4, SPEC N-12.

Blocked on a user decision: whether garbage-collection timing is part of the identity (§4.3.4 마.1).

Done when, after the decision: binary-trees builds its tree as virtual objects in a region, the verifier proves the four N-12 properties, the differential observation tests (id, gc.get_objects count and order, gc.get_referrers, getrefcount, tracemalloc, is, MemoryError) equal the interpreter, and the mutation tests fail as described.

Activity

  1. added 2 commits that reference this issue on Oct 25, 2026
  2. b-re-w commented on Oct 25, 2026

    @b-re-w
    MemberAuthor

    Landed in develop via #281 (SPEC N-12: borrowed reads only for N-12a virtual objects on 3.15t; gc race test).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions