Skip to content

primitives not aliasing when turning off inlined primitives in Python Tutor mode #321

Description

@jcal13

In Python Tutor mode, when inlined primitives is toggled off, if two primitives had the same value (e.g., 5), then they are currently created as two distinct objects with different IDs. Instead, one object should be created and aliasing should occur. This maybe gets complicated for things like Strings because of how string interning works, so that is something that would need to be considered when addressing this as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions