So I realised today in Python we can use an objects memory address location as a key in dictionary.
How does python prevent collisions in the case when the object that was at that memory location is replaced with a different one?
Are there any other risks with using the memory location as hashing key?