def bind_module_config(mod, conf_data, config_key):
  if hasattr(mod, "CONFIGURATION_SECTION"):
    section = mod.CONFIGURATION_SECTION
  elif mod.__name__.endswith(".conf"):
    section = mod.__name__[:-len(".conf")]
  else:
    section = mod.__name__

  if config_key is None:
    bind_data = conf_data.get(section, {})
  else:
    section = config_key
    bind_data = conf_data.get(config_key, {})

  members = _bind_module_members(mod, bind_data, section)
  return ConfigSection(section, members=members, help=mod.__doc__)
claim a desired result by changing its state to running
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/conf.py/bind_module_config--crossover with--dataset/ETHPy150Open jansel/opentuner/opentuner/measurement/driver.py/MeasurementDriver.claim_desired_result