#NEWLINE# def pre_tracer( self , obj , name , old , new , handler ) : #NEWLINE# #INDENT# ' Record a string representation of the trait change dispatch\n\n        ' #NEWLINE# indent = self . indent #NEWLINE# time = datetime . utcnow ( ) . isoformat ( ' ' ) #NEWLINE# container = self . container #NEWLINE# container . record ( ChangeMessageRecord ( time = time , indent = indent , name = name , old = handler , new = new , class_name = obj . __class__ . __name__ ) ) #NEWLINE# container . record ( CallingMessageRecord ( time = time , indent = indent , handler = handler . __name__ , source = inspect . getsourcefile ( handler ) ) ) #NEWLINE# self . indent += 1