From 899530029899b6602e7ef880765170b3a24d3e5a Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 7 Feb 2013 15:24:36 +0200 Subject: =?UTF-8?q?Issue=20#17114:=20IDLE=C2=A0now=20uses=20non-strict=20c?= =?UTF-8?q?onfig=20parser.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/idlelib/configHandler.py | 2 +- Misc/NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py index e22ceb0..7fa481d 100644 --- a/Lib/idlelib/configHandler.py +++ b/Lib/idlelib/configHandler.py @@ -37,7 +37,7 @@ class IdleConfParser(ConfigParser): cfgFile - string, fully specified configuration file name """ self.file=cfgFile - ConfigParser.__init__(self,defaults=cfgDefaults) + ConfigParser.__init__(self, defaults=cfgDefaults, strict=False) def Get(self, section, option, type=None, default=None, raw=False): """ diff --git a/Misc/NEWS b/Misc/NEWS index 78e1c85..83f52af 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -212,6 +212,8 @@ Core and Builtins Library ------- +- Issue #17114: IDLE now uses non-strict config parser. + - Issue #16723: httplib.HTTPResponse no longer marked closed when the connection is automatically closed. -- cgit v0.12