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.
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.