#NEWLINE# def identical( self , other ) : #NEWLINE# #INDENT# 'Like equals, but also checks attributes.\n        ' #NEWLINE# try : #NEWLINE# #INDENT# return ( utils . dict_equiv ( self . attrs , other . attrs ) and self . equals ( self ) ) #NEWLINE# #UNINDENT# except ( TypeError , AttributeError ) : #NEWLINE# #INDENT# return False