Skip to content

gh-66449: Add support to unnamed sections in ConfigParser#2735

Closed
pslacerda wants to merge 9 commits intopython:mainfrom
pslacerda:fix-issue-issue22253
Closed

gh-66449: Add support to unnamed sections in ConfigParser#2735
pslacerda wants to merge 9 commits intopython:mainfrom
pslacerda:fix-issue-issue22253

Conversation

@pslacerda
Copy link
Contributor

@pslacerda pslacerda commented Jul 16, 2017

Add support to files that have key-value pairs before any section or no section at all. Unnamed sections are enabled when passing allow_unnamed_section=True to configparser.ConfigParser and are stored as an empty string.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review stdlib Standard Library Python modules in the Lib/ directory type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.