From: Serhiy Storchaka Date: Thu, 7 Feb 2013 13:24:36 +0000 (+0200) Subject: Issue #17114: IDLE now uses non-strict config parser. X-Git-Tag: v3.2.4rc1~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=899530029899b6602e7ef880765170b3a24d3e5a;p=thirdparty%2FPython%2Fcpython.git Issue #17114: IDLE now uses non-strict config parser. --- diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py index e22ceb00cb74..7fa481d893b0 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 78e1c857f7f2..83f52afda251 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.