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
eb945a93
Kaydet (Commit)
eb945a93
authored
Mar 13, 2012
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
üst
7ca97d52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
CallTipWindow.py
Lib/idlelib/CallTipWindow.py
+5
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/CallTipWindow.py
Dosyayı görüntüle @
eb945a93
...
@@ -22,6 +22,7 @@ class CallTip:
...
@@ -22,6 +22,7 @@ class CallTip:
self
.
parenline
=
self
.
parencol
=
None
self
.
parenline
=
self
.
parencol
=
None
self
.
lastline
=
None
self
.
lastline
=
None
self
.
hideid
=
self
.
checkhideid
=
None
self
.
hideid
=
self
.
checkhideid
=
None
self
.
checkhide_after_id
=
None
def
position_window
(
self
):
def
position_window
(
self
):
"""Check if needs to reposition the window, and if so - do it."""
"""Check if needs to reposition the window, and if so - do it."""
...
@@ -102,7 +103,10 @@ class CallTip:
...
@@ -102,7 +103,10 @@ class CallTip:
self
.
hidetip
()
self
.
hidetip
()
else
:
else
:
self
.
position_window
()
self
.
position_window
()
self
.
widget
.
after
(
CHECKHIDE_TIME
,
self
.
checkhide_event
)
if
self
.
checkhide_after_id
is
not
None
:
self
.
widget
.
after_cancel
(
self
.
checkhide_after_id
)
self
.
checkhide_after_id
=
\
self
.
widget
.
after
(
CHECKHIDE_TIME
,
self
.
checkhide_event
)
def
hide_event
(
self
,
event
):
def
hide_event
(
self
,
event
):
if
not
self
.
tipwindow
:
if
not
self
.
tipwindow
:
...
...
Misc/NEWS
Dosyayı görüntüle @
eb945a93
...
@@ -22,6 +22,8 @@ Core and Builtins
...
@@ -22,6 +22,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #5219: Prevent event handler cascade in IDLE.
- Issue #14184: Increase the default stack size for secondary threads on
- Issue #14184: Increase the default stack size for secondary threads on
Mac OS X to avoid interpreter crashes when using threads on 10.7.
Mac OS X to avoid interpreter crashes when using threads on 10.7.
...
...
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