]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #17114: IDLE now uses non-strict config parser.
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 7 Feb 2013 13:24:36 +0000 (15:24 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 7 Feb 2013 13:24:36 +0000 (15:24 +0200)
Lib/idlelib/configHandler.py
Misc/NEWS

index e22ceb00cb740bcd3b85f2f4f984082138fc112b..7fa481d893b07a407d420ce8c942e538ade39a9b 100644 (file)
@@ -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):
         """
index 78e1c857f7f286ee56f7535356a2ed4862a6ff6d..83f52afda251c5301419328f3b93853b7afd3f91 100644 (file)
--- 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.