summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-07 13:25:09 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-07 13:25:09 (GMT)
commit705ef7a03d2d2293b9872800810a2a29d5e5f0cc (patch)
tree80272d94287ce24e258cdae9776dad2c13f17666
parentf5d245a0a0d8c00ca986bd84e54b940ab0eb75cf (diff)
parent899530029899b6602e7ef880765170b3a24d3e5a (diff)
downloadcpython-705ef7a03d2d2293b9872800810a2a29d5e5f0cc.zip
cpython-705ef7a03d2d2293b9872800810a2a29d5e5f0cc.tar.gz
cpython-705ef7a03d2d2293b9872800810a2a29d5e5f0cc.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 405c7a1..5bf2668 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 b7f1214..b63511c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -163,6 +163,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.