Issue #3068: Add Idle extension configuration dialog to Options menu.
Original patch by Tal Einat.
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py
index 5e6b81b..646660a 100644
--- a/Lib/idlelib/configHandler.py
+++ b/Lib/idlelib/configHandler.py
@@ -45,6 +45,9 @@
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':