Why Do Mutable Default Arguments Get Shared Between Class Instances?
I have a class constructor with empty dictionaries and lists as default arguments. When I create two instances without supplying those arguments, changes made through one instance appear…