'set up a dictionary of config parsers for default and user
configurations respectively'

def CreateConfigHandlers(self):

    if (__name__ != '__main__'):
        idleDir = os.path.dirname(__file__)
    else:
        idleDir = os.path.abspath(sys.path[0])
    userDir = self.GetUserCfgDir()
    configTypes = ('main', 'extensions', 'highlight', 'keys')
    defCfgFiles = {}
    usrCfgFiles = {}
    for cfgType in configTypes:
        defCfgFiles[cfgType] = os.path.join(idleDir, (('config-' + cfgType) + '.def'))
        usrCfgFiles[cfgType] = os.path.join(userDir, (('config-' + cfgType) + '.cfg'))
    for cfgType in configTypes:
        self.defaultCfg[cfgType] = IdleConfParser(defCfgFiles[cfgType])
        self.userCfg[cfgType] = IdleUserConfParser(usrCfgFiles[cfgType])
