summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configHandler.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-10-23 00:15:18 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-10-23 00:15:18 (GMT)
commita9421fb3a3013a8aacc18959c28c1b0002f34025 (patch)
tree21947d5899838ca1deab5d84fcfb3a40abd226b8 /Lib/idlelib/configHandler.py
parentc803bd84b529f3a300f9ba808b60dd50e4e365bf (diff)
downloadcpython-a9421fb3a3013a8aacc18959c28c1b0002f34025.zip
cpython-a9421fb3a3013a8aacc18959c28c1b0002f34025.tar.gz
cpython-a9421fb3a3013a8aacc18959c28c1b0002f34025.tar.bz2
Issue #3068: Add Idle extension configuration dialog to Options menu.
Original patch by Tal Einat.
Diffstat (limited to 'Lib/idlelib/configHandler.py')
-rw-r--r--Lib/idlelib/configHandler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py
index 7a282fb..b94b8f1 100644
--- a/Lib/idlelib/configHandler.py
+++ b/Lib/idlelib/configHandler.py
@@ -44,6 +44,9 @@ class IdleConfParser(ConfigParser):
Get an option value for given section/option or return default.
If type is specified, return as type.
"""
+ # TODO Use default as fallback, at least if not None
+ # Should also print Warning(file, section, option).
+ # Currently may raise ValueError
if not self.has_option(section, option):
return default
if type == 'bool':