INTERPOLATION_RE = re.compile('\\$\\{(?:(?P<section>[^:]+):)?(?P<key>[^}]+)\\}'
    )

def load_something_from_cp(cp, section='section'):
    result = []
Python ConfigParser interpolation from foreign section