Why do I only get 2 different IDs here? What happened underneath?
I tried to disable gc here, it doesn't affect the results.
And only once in a while I get 3 different IDs, but mostly I got only 2.
class A:
pass
for i in range(10):
a = A()
print(id(a))
# output
4565372768
4565372880
4565372768
4565372880
4565372768
4565372880
4565372768
4565372880
4565372768
4565372880