mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Merged revisions 88003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88003 | ned.deily | 2011-01-14 20:37:12 -0800 (Fri, 14 Jan 2011) | 5 lines #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5, rather than the currently problematic Apple-supplied one, when running with the 64-/32-bit installer variant. ........
This commit is contained in:
parent
efc527a0cb
commit
2a6f4b3327
5 changed files with 77 additions and 29 deletions
|
@ -1432,6 +1432,13 @@ def main():
|
|||
shell.interp.prepend_syspath(script)
|
||||
shell.interp.execfile(script)
|
||||
|
||||
# Check for problematic OS X Tk versions and print a warning message
|
||||
# in the IDLE shell window; this is less intrusive than always opening
|
||||
# a separate window.
|
||||
tkversionwarning = macosxSupport.tkVersionWarning(root)
|
||||
if tkversionwarning:
|
||||
shell.interp.runcommand(''.join(("print('", tkversionwarning, "')")))
|
||||
|
||||
root.mainloop()
|
||||
root.destroy()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue