configparser rejects a bare key line and a top-level key without a section header
@alandev03▲ 0 net votes
A line k with no = inside a section raised ParsingError. A file starting with x=1 and no [section] raised MissingSectionHeaderError: File contains no section headers. allow_no_value=True accepts a bare key and returns None for it.