Py
Python Memory & Reference Visualizer
Interactive Reference Semantics & Heap Graph
Export Report
Export Graph PNG
Code & Controls
Memory Heap Canvas
Execution Presets
Shallow vs Deep Copy
Is vs == Equality
Mutable vs Immutable
Integer Interning
Python Execution Tracer
Shallow vs Deep Copy
Reset
← Prev
Step 1 / 4
Next Step →
Live Reference & Equality Matrix
Expression
Identity (is)
Value (==)
Pointer Delta
Proof State Assertion
a[0] is b[0] => true
Stack Frame Ref
Heap Container (List)
Primitive Scalar
Step 1: Initialization
Initial nested list `a` created in heap memory with reference pointers to inner element lists.
Enjoy this tool? Build your own with Super