summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-07 13:24:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-07 13:24:36 (GMT)
commit899530029899b6602e7ef880765170b3a24d3e5a (patch)
tree29f6f1aaae09c1e03e673d56fb96846b1d84d455
parentc2255ac153194b285730034ae37d4dbc8a31c39b (diff)
downloadcpython-899530029899b6602e7ef880765170b3a24d3e5a.zip
cpython-899530029899b6602e7ef880765170b3a24d3e5a.tar.gz
cpython-899530029899b6602e7ef880765170b3a24d3e5a.tar.bz2
Issue #17114: IDLE now uses non-strict config parser.
-rw-r--r--Lib/idlelib/configHandler.py2
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 1 deletions
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.