def __init__(self, conf_dict=None, conf_file=None):
self._config = {<EOL>None: {<EOL>'<STR_LIT:status>': '<STR_LIT>',<EOL>},<EOL>}<EOL>if conf_dict:<EOL><INDENT>for key, value in conf_dict.items():<EOL><INDENT>outer, _sep, inner = key.partition('<STR_LIT:.>')<EOL>if not inner:<EOL><INDENT>outer, inner = None, outer<EOL><DEDENT>self._config.setdefault(outer, {})<EOL>self._config[outer][inner] = value<EOL><DEDENT><DEDENT>conf_files = []<EOL>if '<STR_LIT>' in self._config[None]:<EOL><INDENT>conf_files.append(self._config[None]['<STR_LIT>'])<EOL><DEDENT>if conf_file:<EOL><INDENT>conf_files.append(conf_file)<EOL><DEDENT>if conf_files:<EOL><INDENT>cp = ConfigParser.SafeConfigParser()<EOL>cp.read(conf_files)<EOL>for sect in cp.sections():<EOL><INDENT>outer = None if sect == '<STR_LIT>' else sect<EOL>self._config.setdefault(outer, {})<EOL>self._config[outer].update(dict(cp.items(sect)))<EOL><DEDENT><DEDENT>
Initializes a Config object.  A default is provided for the
"status" configuration.

:param conf_dict: Optional.  Should specify a dictionary
                  containing the configuration drawn from the
                  paste.ini file.  If a 'config' key is
                  present in the dict, configuration will
                  additionally be drawn from the specified INI
                  file; configuration from the INI file will
                  override configuration drawn from this dict.
:param conf_file: Optional.  Should specify the name of a file
                  containing further configuration.  If a
                  conf_dict is also provided, values drawn
                  from this file will override values from the
                  conf_dict, as well as any additional file
                  specified by the 'config' key.

For configuration files, values in the '[turnstile]' section
correspond to prefix-less values in the dictionary, with the
exception that the 'config' value is ignored.