t = TemporaryFile('w+')
with open('foo.ini') as f:
    t.writelines(line for line in f if not line.startswith('='))
t.seek(0)
par = configparser.ConfigParser()
par.read_file(t)
print(list(par['SESSIONS_id'].items()))
[('session_a', '{F34B3238-EEE5-4006-B19C-AB8CC233D8F0}'), ('session_b',
    '{AF2D869B-0FB1-4287-A10E-82B0884E1CFC}'), ('session_c',
    '{F5A7FA65-2107-4B9B-A7C2-8C89C354D4FF}')]
Reading configfiles with no key but value entries using python configparser