[Python-checkins] cpython (merge 3.2 -> 3.3): Issue #17114: IDLE now uses non-strict config parser.

serhiy.storchaka python-checkins at python.org
Thu Feb 7 14:27:16 CET 2013


http://hg.python.org/cpython/rev/c2ed79fbb9c6
changeset:   82044:c2ed79fbb9c6
branch:      3.3
parent:      82041:e49cc1585966
parent:      82043:cf98766f464e
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Feb 07 15:25:09 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
@@ -163,6 +163,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