From ddc2761da6a7331c3ec341277af46f1e2d58c153 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 3c452afe8ade485..88015ef60865698 100644 --- a/Lib/configparser.py +++ b/Lib/configparser.py @@ -618,7 +618,8 @@ class RawConfigParser(MutableMapping): _OPT_TMPL = r""" (?P