I run the following python code.
class A():
def __init__(self,l=[]):
self.k = l
a = A()
b = A()
a.k.append(5)
print id(a.k) == id(b.k)
print b.k
The result is:
True
[5]
I don't know why a.k and b.k have the same memory address.
k = 1and reformatted it to look nicer but mostly so it would compile :-) And, please, for the love of whatever god(s) you believe in, consider moving to Python3 - it's so much better.