summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-07 13:25:33 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-07 13:25:33 (GMT)
commitd971793d1550752e58335bf7c8772f811f5a044d (patch)
tree79ecf5832e1db382547a03a6667f45477aa23533
parent73cfd79533bd821c5a80fd4165bea05ab6829008 (diff)
parent705ef7a03d2d2293b9872800810a2a29d5e5f0cc (diff)
downloadcpython-d971793d1550752e58335bf7c8772f811f5a044d.zip
cpython-d971793d1550752e58335bf7c8772f811f5a044d.tar.gz
cpython-d971793d1550752e58335bf7c8772f811f5a044d.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 a193eb9..ea2010e 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 f69e7e7..a4d146e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -235,6 +235,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.