Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb103b commit 20345fbCopy full SHA for 20345fb
2 files changed
Lib/idlelib/NEWS.txt
@@ -3,6 +3,9 @@ What's New in IDLE 1.2a0?
3
4
*Release date: XX-XXX-2005*
5
6
+- run.py: use Queue's blocking feature instead of sleeping in the main
7
+ loop. Patch # 1190163 Michiel de Hoon
8
+
9
- Add config-main option to make the 'history' feature non-cyclic.
10
Default remains cyclic. Python Patch 914546 Noam Raphael.
11
Lib/idlelib/run.py
@@ -82,9 +82,8 @@ def main(del_exitfunc=False):
82
# exiting but got an extra KBI? Try again!
83
continue
84
try:
85
- seq, request = rpc.request_queue.get(0)
+ seq, request = rpc.request_queue.get(block=True, timeout=0.05)
86
except Queue.Empty:
87
- time.sleep(0.05)
88
89
method, args, kwargs = request
90
ret = method(*args, **kwargs)
0 commit comments