gh-136282: Configparser: create unnamed sections via mapping protocol access#136313
Merged
encukou merged 1 commit intopython:mainfrom Dec 19, 2025
Merged
Conversation
Contributor
Author
Member
|
If we do decide to backport (which I don't think we should), we can automatically backport to 3.14 with the bot. No need for an extra PR. |
Contributor
Author
Member
|
I would see this as a bugfix, I can’t imagine someone using mapping protocol + unnamed section and wanting the output PR LGTM |
encukou
approved these changes
Dec 18, 2025
Member
|
@encukou what do you think of fix vs feature classification? (with the consequence of backporting or not) |
Member
|
I don't remember my reasons for objecting to this as a bugfix -- if both of you are happy with backporting, let's do that. |
Member
|
@hugovk is the authority here. I'm leaning towards bugfix. |
Member
|
Bugfix is fine by me. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Dec 19, 2025
…otocol access (pythonGH-136313) (cherry picked from commit 4aef138) Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com>
|
GH-142978 is a backport of this pull request to the 3.14 branch. |
cocolato
pushed a commit
to cocolato/cpython
that referenced
this pull request
Dec 22, 2025
encukou
pushed a commit
that referenced
this pull request
Jan 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using the mapping protocol access to create unnamed section was not supported.
With this PR you can use it: