docs: def _load_from_ini_py3(ini, default_section=_DEFAULT_SECTION):
      """
      py3从单个配置文件中,获取设置
      :param default_section:
      :param ini:
      :return:
      """
  
      cf = configparser.ConfigParser(default_section=default_section)
      cf.read(ini, encoding="UTF8")
      settings = OrderedDict()
      for item in cf.items():
          logger.debug(item[0])
          settings[item[0].upper()] = OrderedDict(item[1])
  
      logger.debug(settings)
      for k, v in cf.items(default_section):
      # for k, v in cf.items():
          logger.debug(v)
          logger.debug(settings)
          logger.debug(settings.get(k))
          settings[k.upper()] = convert_value(v)
          logger.debug(settings)
          if k.lower() in settings:
              del settings[k.lower()]
  
      if default_section in settings:
          del settings[default_section]
  
      logger.debug(settings)
      return settings