File tree 3 files changed +1
-36
lines changed 3 files changed +1
-36
lines changed Original file line number Diff line number Diff line change @@ -1588,7 +1588,7 @@ def create_page_windows(self):
1588
1588
win_height_int: Entry > win_height
1589
1589
frame_cursor: Frame
1590
1590
indent_title: Label
1591
- indent_chooser: Spinbox (Combobox < 8.5.9) > indent_spaces
1591
+ indent_chooser: Spinbox > indent_spaces
1592
1592
blink_on: Checkbutton > cursor_blink
1593
1593
frame_autocomplete: Frame
1594
1594
auto_wait_title: Label
Original file line number Diff line number Diff line change @@ -68,27 +68,6 @@ def isXQuartz():
68
68
return _tk_type == "xquartz"
69
69
70
70
71
- def tkVersionWarning (root ):
72
- """
73
- Returns a string warning message if the Tk version in use appears to
74
- be one known to cause problems with IDLE.
75
- 1. Apple Cocoa-based Tk 8.5.7 shipped with Mac OS X 10.6 is unusable.
76
- 2. Apple Cocoa-based Tk 8.5.9 in OS X 10.7 and 10.8 is better but
77
- can still crash unexpectedly.
78
- """
79
-
80
- if isCocoaTk ():
81
- patchlevel = root .tk .call ('info' , 'patchlevel' )
82
- if patchlevel not in ('8.5.7' , '8.5.9' ):
83
- return False
84
- return ("WARNING: The version of Tcl/Tk ({0}) in use may"
85
- " be unstable.\n "
86
- "Visit https://www.python.org/download/mac/tcltk/"
87
- " for current information." .format (patchlevel ))
88
- else :
89
- return False
90
-
91
-
92
71
def readSystemPreferences ():
93
72
"""
94
73
Fetch the macOS system preferences.
Original file line number Diff line number Diff line change 22
22
pass
23
23
24
24
from tkinter import messagebox
25
- if TkVersion < 8.5 :
26
- root = Tk () # otherwise create root in main
27
- root .withdraw ()
28
- from idlelib .run import fix_scaling
29
- fix_scaling (root )
30
- messagebox .showerror ("Idle Cannot Start" ,
31
- "Idle requires tcl/tk 8.5+, not %s." % TkVersion ,
32
- parent = root )
33
- raise SystemExit (1 )
34
25
35
26
from code import InteractiveInterpreter
36
27
import itertools
@@ -1690,11 +1681,6 @@ def main():
1690
1681
# the IDLE shell window; this is less intrusive than always
1691
1682
# opening a separate window.
1692
1683
1693
- # Warn if using a problematic OS X Tk version.
1694
- tkversionwarning = macosx .tkVersionWarning (root )
1695
- if tkversionwarning :
1696
- shell .show_warning (tkversionwarning )
1697
-
1698
1684
# Warn if the "Prefer tabs when opening documents" system
1699
1685
# preference is set to "Always".
1700
1686
prefer_tabs_preference_warning = macosx .preferTabsPreferenceWarning ()
You can’t perform that action at this time.
0 commit comments