class_docstr: Hold config parsers for all idle config files in singleton instance.
  
  Default config files, self.defaultCfg --
      for config_type in self.config_types:
          (idle install dir)/config-{config-type}.def
  
  User config files, self.userCfg --
      for config_type in self.config_types:
      (user home dir)/.idlerc/config-{config-type}.cfg
class_docstr_tok: ["Hold","config","parsers","for","all","idle","config","files","in","singleton","instance",".","Default","config","files",",","self.defaultCfg","--","for","config_type","in","self.config_types",":","(","idle","install","dir",")","\/config-","{","config-type","}",".def","User","config","files",",","self.userCfg","--","for","config_type","in","self.config_types",":","(","user","home","dir",")","\/.idlerc\/config-","{","config-type","}",".cfg"]
docstr: Populate default and user config parser dictionaries.
code: def CreateConfigHandlers(self):
      "Populate default and user config parser dictionaries."
      # build idle install path
      if __name__ != "__main__":  # we were imported
          idleDir = os.path.dirname(__file__)
      else:  # we were exec'ed (for testing only)
          idleDir = os.path.abspath(sys.path[0])
      userDir = self.GetUserCfgDir()
  
      defCfgFiles = {}
      usrCfgFiles = {}
      # TODO eliminate these temporaries by combining loops
      for cfgType in self.config_types:  # build config file names
          defCfgFiles[cfgType] = os.path.join(
              idleDir, "config-" + cfgType + ".def"
          )
          usrCfgFiles[cfgType] = os.path.join(
              userDir, "config-" + cfgType + ".cfg"
          )
      for cfgType in self.config_types:  # create config parsers
          self.defaultCfg[cfgType] = IdleConfParser(
              defCfgFiles[cfgType]
          )
          self.userCfg[cfgType] = IdleUserConfParser(
              usrCfgFiles[cfgType]
          )
  
imports: from __future__ import print_function
  import os
  import sys
  from ConfigParser import ConfigParser
  from Tkinter import TkVersion
  from tkFont import Font, nametofont
label_desc: Use image node_id 2 for calling the IdleConf obj's underlying member method code with example usage: obj.CreateConfigHandlers() without return types