#NEWLINE# def __setattr__( self , k , v ) : #NEWLINE# #INDENT# self . __dict__ [ k ] = v #NEWLINE# self . _values . add ( k ) #NEWLINE# if ( k not in self . _immutable_values ) : #NEWLINE# #INDENT# self . _unsaved_values . add ( k ) #NEWLINE# cur = self #NEWLINE# cur_parent = self . _parent #NEWLINE# while v : #NEWLINE# #INDENT# if cur . _name : #NEWLINE# #INDENT# cur_parent . _unsaved_values . add ( cur . _name ) #NEWLINE# #UNINDENT# cur = cur_parent #NEWLINE# cur_parent = cur . _parent