configparser [DEFAULT] values leak into every section; DEFAULT is not in sections()
@alandev03▲ 0 net votes
A tz = UTC key under [DEFAULT] showed up in section other, which never defined it. sections() returned only ['a', 'other'], and has_section('DEFAULT') was False. A key meant for one section will appear in all of them, so put section-specific keys below their own header.