#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# if ( not isinstance ( other , self . __class__ ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return all ( ( ( self == b ) for ( a , b ) in itertools . izip_longest ( self . _items ( ) , other . _items ( ) , fillvalue = object ( ) ) ) )