[Python-checkins] r74976 - in python/branches/release26-maint: Lib/idlelib/macosxSupport.py
ronald.oussoren
python-checkins at python.org
Sun Sep 20 21:06:58 CEST 2009
Author: ronald.oussoren
Date: Sun Sep 20 21:06:58 2009
New Revision: 74976
Log:
Backport of r72946. This closes Issue 6100 and 6951 for
the 2.6 branch.
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Lib/idlelib/macosxSupport.py
Modified: python/branches/release26-maint/Lib/idlelib/macosxSupport.py
==============================================================================
--- python/branches/release26-maint/Lib/idlelib/macosxSupport.py (original)
+++ python/branches/release26-maint/Lib/idlelib/macosxSupport.py Sun Sep 20 21:06:58 2009
@@ -82,6 +82,7 @@
def config_dialog(event=None):
import configDialog
+ root.instance_dict = flist.inversedict
configDialog.ConfigDialog(root, 'Settings')
@@ -95,7 +96,7 @@
tkversion = root.tk.eval('info patchlevel')
# Note: we cannot check if the string tkversion >= '8.4.14', because
# the string '8.4.7' is greater than the string '8.4.14'.
- if map(int, tkversion.split('.')) >= (8, 4, 14):
+ if tuple(map(int, tkversion.split('.'))) >= (8, 4, 14):
Bindings.menudefs[0] = ('application', [
('About IDLE', '<<about-idle>>'),
None,
More information about the Python-checkins
mailing list