Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
eb00d097
Kaydet (Commit)
eb00d097
authored
Tem 30, 2012
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #14018: merge
üst
2910a7ba
c556c644
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
NEWS.txt
Lib/idlelib/NEWS.txt
+3
-0
macosxSupport.py
Lib/idlelib/macosxSupport.py
+10
-6
No files found.
Lib/idlelib/NEWS.txt
Dosyayı görüntüle @
eb00d097
...
@@ -34,6 +34,9 @@ What's New in IDLE 3.3.0?
...
@@ -34,6 +34,9 @@ What's New in IDLE 3.3.0?
- Issue #3573: IDLE hangs when passing invalid command line args
- Issue #3573: IDLE hangs when passing invalid command line args
(directory(ies) instead of file(s)).
(directory(ies) instead of file(s)).
- Issue #14018: Update checks for unstable system Tcl/Tk versions on OS X
to include versions shipped with OS X 10.7 and 10.8 in addition to 10.6.
What's New in IDLE 3.2.1?
What's New in IDLE 3.2.1?
=========================
=========================
...
...
Lib/idlelib/macosxSupport.py
Dosyayı görüntüle @
eb00d097
...
@@ -37,17 +37,21 @@ def isCarbonAquaTk(root):
...
@@ -37,17 +37,21 @@ def isCarbonAquaTk(root):
def
tkVersionWarning
(
root
):
def
tkVersionWarning
(
root
):
"""
"""
Returns a string warning message if the Tk version in use appears to
Returns a string warning message if the Tk version in use appears to
be one known to cause problems with IDLE. The Apple Cocoa-based Tk 8.5
be one known to cause problems with IDLE.
that was shipped with Mac OS X 10.6.
1. Apple Cocoa-based Tk 8.5.7 shipped with Mac OS X 10.6 is unusable.
2. Apple Cocoa-based Tk 8.5.9 in OS X 10.7 and 10.8 is better but
can still crash unexpectedly.
"""
"""
if
(
runningAsOSXApp
()
and
if
(
runningAsOSXApp
()
and
(
'AppKit'
in
root
.
tk
.
call
(
'winfo'
,
'server'
,
'.'
))
and
(
'AppKit'
in
root
.
tk
.
call
(
'winfo'
,
'server'
,
'.'
))
):
(
root
.
tk
.
call
(
'info'
,
'patchlevel'
)
==
'8.5.7'
)
):
patchlevel
=
root
.
tk
.
call
(
'info'
,
'patchlevel'
)
return
(
r"WARNING: The version of Tcl/Tk (8.5.7) in use may"
if
patchlevel
not
in
(
'8.5.7'
,
'8.5.9'
):
return
False
return
(
r"WARNING: The version of Tcl/Tk ({0}) in use may"
r" be unstable.\n"
r" be unstable.\n"
r"Visit http://www.python.org/download/mac/tcltk/"
r"Visit http://www.python.org/download/mac/tcltk/"
r" for current information."
)
r" for current information."
.
format
(
patchlevel
)
)
else
:
else
:
return
False
return
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment