All:
a = 1 b = a c = b
Now I want to get a list of object 1 tagged, which is [a, b, c]. How could I do this?
1
[a, b, c]
As you can see, it's impossible to find them all.
>>> sys.getrefcount(1) 791 >>> sys.getrefcount(2) 267 >>> sys.getrefcount(3) 98