[Python-checkins] cpython (merge 3.3 -> default): Issue #17114: IDLE now uses non-strict config parser.
serhiy.storchaka
python-checkins at python.org
Thu Feb 7 14:27:17 CET 2013
http://hg.python.org/cpython/rev/877fae8d6f5b
changeset: 82045:877fae8d6f5b
parent: 82042:3236ebe7dd82
parent: 82044:c2ed79fbb9c6
user: Serhiy Storchaka <storchaka at gmail.com>
date: Thu Feb 07 15:25:33 2013 +0200
summary:
Issue #17114: IDLE now uses non-strict config parser.
files:
Lib/idlelib/configHandler.py | 2 +-
Misc/NEWS | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py
--- a/Lib/idlelib/configHandler.py
+++ b/Lib/idlelib/configHandler.py
@@ -37,7 +37,7 @@
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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -235,6 +235,8 @@
Library
-------
+- Issue #17114: IDLE now uses non-strict config parser.
+
- Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list