Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8995300

Browse files
Issue #17114: IDLE now uses non-strict config parser.
1 parent c2255ac commit 8995300

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/idlelib/configHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self, cfgFile, cfgDefaults=None):
3737
cfgFile - string, fully specified configuration file name
3838
"""
3939
self.file=cfgFile
40-
ConfigParser.__init__(self,defaults=cfgDefaults)
40+
ConfigParser.__init__(self, defaults=cfgDefaults, strict=False)
4141

4242
def Get(self, section, option, type=None, default=None, raw=False):
4343
"""

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ Core and Builtins
212212
Library
213213
-------
214214

215+
- Issue #17114: IDLE now uses non-strict config parser.
216+
215217
- Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
216218
is automatically closed.
217219

0 commit comments

Comments
 (0)