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
20345fb8
Kaydet (Commit)
20345fb8
authored
May 05, 2005
tarafından
Kurt B. Kaiser
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use Queue's blocking feature instead of sleeping in the main
loop. Patch # 1190163 Michiel de Hoon
üst
abb103b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
NEWS.txt
Lib/idlelib/NEWS.txt
+3
-0
run.py
Lib/idlelib/run.py
+1
-2
No files found.
Lib/idlelib/NEWS.txt
Dosyayı görüntüle @
20345fb8
...
...
@@ -3,6 +3,9 @@ What's New in IDLE 1.2a0?
*Release date: XX-XXX-2005*
- run.py: use Queue's blocking feature instead of sleeping in the main
loop. Patch # 1190163 Michiel de Hoon
- Add config-main option to make the 'history' feature non-cyclic.
Default remains cyclic. Python Patch 914546 Noam Raphael.
...
...
Lib/idlelib/run.py
Dosyayı görüntüle @
20345fb8
...
...
@@ -82,9 +82,8 @@ def main(del_exitfunc=False):
# exiting but got an extra KBI? Try again!
continue
try
:
seq
,
request
=
rpc
.
request_queue
.
get
(
0
)
seq
,
request
=
rpc
.
request_queue
.
get
(
block
=
True
,
timeout
=
0.05
)
except
Queue
.
Empty
:
time
.
sleep
(
0.05
)
continue
method
,
args
,
kwargs
=
request
ret
=
method
(
*
args
,
**
kwargs
)
...
...
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