AFAIK, Cpython's memory addresses are, by design, static. The memory address of the object can be seen using id()
. The name of the function is a signal that it does not change ...
See, however, the comment below, where other SO users pointed out that id()
is a memory address - this is a detailed implementation of Cpython.
NTN!
source share