#NEWLINE# @ property #NEWLINE# def all_errors( self ) : #NEWLINE# #INDENT# 'The current errors and the errors of all child widgets.' #NEWLINE# items = sorted ( self . _all_errors . items ( ) ) #NEWLINE# if ( self . name is None ) : #NEWLINE# #INDENT# return ErrorList ( self . _field . form , chain ( * ( item [ 1 ] for item in items ) ) ) #NEWLINE# #UNINDENT# result = ErrorList ( self . _field . form ) #NEWLINE# for ( key , value ) in items : #NEWLINE# #INDENT# if ( ( key == self . name ) or ( ( key is not None ) and key . startswith ( ( self . name + '.' ) ) ) ) : #NEWLINE# #INDENT# result . extend ( value ) #NEWLINE# #UNINDENT# #UNINDENT# return result