]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127096: Do not recreate unnamed section on every read in ConfigParser (#127228)
authorAndrey Efremov <duxus@yandex.ru>
Sun, 26 Jan 2025 18:33:07 +0000 (01:33 +0700)
committerGitHub <noreply@github.com>
Sun, 26 Jan 2025 18:33:07 +0000 (13:33 -0500)
commit914c232e9391e8e5014b089ba12c75d4a3b0cc7f
tree1ab8add0c27b5f4f2051144ce6da2f08a09ee6d9
parent5d9b62005a110164c6be5bf412d344917e872e10
gh-127096: Do not recreate unnamed section on every read in ConfigParser (#127228)

* Do not recreate unnamed section on every read in ConfigParser

* Remove duplicate section creation code
Lib/configparser.py
Lib/test/test_configparser.py
Misc/NEWS.d/next/Library/2024-11-24-22-06-42.gh-issue-127096.R7LLpQ.rst [new file with mode: 0644]