Can I get the value of an object field some other way than obj.field? Does something like obj.get(\'field\') exist? Same thing for setting the valu
obj.field
obj.get(\'field\')
why do you want this?
You could use
obj.__dict__['field']
i guess... though it's not a method call
changed=[field for (field,value) in newObj.__dict__ if oldObj.__dict__[field] != value]
will give you a list of all the fields that where changed.
(though I'm not 100% sure)