Default behavior for handling file read errors and warnings. More...
Public Member Functions | |
| def | __init__ |
| def | error |
| def | warn |
Public Attributes | |
| name | |
| lineno | |
Default behavior for handling file read errors and warnings.
When reading a file, a log object can be specified which handles any errors and warnings which occur while reading the file. If no log object is specified, a new DefaultLog instance is used instead.
The behavior of DefaultLog is to print any messages to sys.stderr along with the file name passed to the constructor, and to raise a ParseError exception on error.
1.8.8