Package lxml :: Module etree :: Class _ListErrorLog
[hide private]
[frames] | no frames]

Class _ListErrorLog



   object --+    
            |    
_BaseErrorLog --+
                |
               _ListErrorLog
Known Subclasses:
_ErrorLog

Immutable base version of a list based error log.

Instance Methods [hide private]
 
__contains__(x, y)
y in x
 
__getitem__(...)
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__iter__(...)
 
__len__(x)
len(x)
 
__new__(T, S, ...)
Returns: a new object with type S, a subtype of T
 
__nonzero__(x)
x != 0
 
__repr__(...)
repr(x)
 
copy(...)
Creates a shallow copy of this error log.
 
filter_domains(...)
Filter the errors by the given domains and return a new error log containing the matches.
 
filter_from_errors(...)
Convenience method to get all error messages or worse.
 
filter_from_fatals(...)
Convenience method to get all fatal error messages.
 
filter_from_level(...)
Return a log with all messages of the requested level of worse.
 
filter_from_warnings(...)
Convenience method to get all warnings or worse.
 
filter_levels(...)
Filter the errors by the given error levels and return a new error log containing the matches.
 
filter_types(...)
Filter the errors by the given types and return a new error log containing the matches.

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from _BaseErrorLog: last_error

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: _BaseErrorLog.__init__

__new__(T, S, ...)

 
Returns:
a new object with type S, a subtype of T

Overrides: _BaseErrorLog.__new__

__repr__(...)
(Representation operator)

 
repr(x)
Overrides: _BaseErrorLog.__repr__

copy(...)

 
Creates a shallow copy of this error log. Reuses the list of entries.
Overrides: _BaseErrorLog.copy