Skip to content

[3.14] gh-161108: Make configparser clear() linear time (GH-161109) - #161133

Merged
gpshead merged 1 commit into
python:3.14from
gpshead:backport-2a1282b-3.14
Nov 1, 2026
Merged

gpshead merged 1 commit into
python:3.14from
gpshead:backport-2a1282b-3.14

Conversation

@gpshead

@gpshead gpshead commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

…GH-161109)

Give SectionProxy its own popitem() and clear() and RawConfigParser its
own clear() instead of the MutableMapping ones, which copied every
remaining key for each removal.

python#161109
(cherry picked from commit 2a1282b)
@gpshead
gpshead requested a review from jaraco as a code owner November 1, 2026 20:26
@gpshead gpshead self-assigned this Nov 1, 2026
@gpshead
gpshead enabled auto-merge (squash) November 1, 2026 20:27
@gpshead
gpshead merged commit 78b7068 into python:3.14 Nov 1, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant