I have a class where the instances of this class needs to track the changes to its attributes.
Example: obj.att = 2 would be something that\'s easily tr
Instead of monkey patching, you can create a proxy class:
__getattribute__, make sure the method is called on the wrapped type, but take care of tracking before doing so.Pro:
Con: