From 499484c52d07ac31a9a505a253540b8013a1c1f0 Mon Sep 17 00:00:00 2001 From: sundeep8967 <71071718+sundeep8967@users.noreply.github.com> Date: Sat, 29 Aug 2026 15:40:34 +0530 Subject: [PATCH] gh-156353: Fix configparser space delimiter parsing (GH-156382) (cherry picked from commit f973bd9d383e99eef58846772c69afa8ebeaf9a9) Co-authored-by: sundeep8967 <71071718+sundeep8967@users.noreply.github.com> Co-authored-by: Petr Viktorin Signed-off-by: sundeep8967 --- Lib/configparser.py | 6 ++-- Lib/test/test_configparser.py | 33 +++++++++++++++++-- ...-08-26-02-30-00.gh-issue-156353.abcdef.rst | 1 + 3 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 Misc/NEWS.d/next/Library/2026-08-26-02-30-00.gh-issue-156353.abcdef.rst diff --git a/Lib/configparser.py b/Lib/configparser.py index ac8527896a6223..5e2b8dfb0fd513 100644 --- a/Lib/configparser.py +++ b/Lib/configparser.py @@ -570,7 +570,8 @@ class RawConfigParser(MutableMapping): _OPT_TMPL = r""" (?P