#NEWLINE# def __setattr__( self , name , value ) : #NEWLINE# #INDENT# lock = object . __getattribute__ ( self , '_local__lock' ) #NEWLINE# lock . acquire ( ) #NEWLINE# try : #NEWLINE# #INDENT# _patch ( self ) #NEWLINE# return object . __setattr__ ( self , name , lock ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# lock . release ( )