class ConfigParser(RawConfigParser): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | get_section |
Return a given section as a dictionary (empty if the section doesn't exist). |
Method | handle_old_config |
Undocumented |
Method | optionxform |
Transform '-' to '_' so the cmdline form of option names can be used. |
Method | read |
Undocumented |
Method | validate_settings |
Call the validator function and implement overrides on all applicable settings. |
Class Variable | not_utf8_error |
Undocumented |
Class Variable | old_settings |
{old setting: (new section, new setting)} mapping, used by handle_old_config , to convert settings from the old [options] section. |
Class Variable | old_warning |
Undocumented |
Instance Variable | _files |
List of paths of configuration files read. |
Instance Variable | _stderr |
Wrapper around sys.stderr catching en-/decoding errors |
handle_old_config
, to convert settings from the old [options] section.