diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-10-23 00:15:12 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-10-23 00:15:12 (GMT) |
commit | 7a16207ce129f3068c97b51bcdc0614199af60d5 (patch) | |
tree | b8a47c484ba8e51f870851991ffddb9834476a93 /Lib/idlelib/configHandler.py | |
parent | ed91883bf537aec64eea7d75500f7d36d58b2713 (diff) | |
download | cpython-7a16207ce129f3068c97b51bcdc0614199af60d5.zip cpython-7a16207ce129f3068c97b51bcdc0614199af60d5.tar.gz cpython-7a16207ce129f3068c97b51bcdc0614199af60d5.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.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ 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': |