This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Maxime S, gvanrossum, serhiy.storchaka, terry.reedy, yselivanov
Date 2016-07-22.07:48:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469173706.58.0.163898282915.issue27546@psf.upfronthosting.co.za>
In-reply-to
Content
New file loop_tk.py solve the responsiveness problem, at least for this example, by using the asyncio loop as it is and doing tk updates in a callback loop. It works with both SelectorEventLoop and ProactorEventLoop.

I was inspired to try this, instead of my planned modification of _run_once, but Yury's post on uvloop http://magic.io/blog/uvloop-make-python-networking-great-again/.  I realized that any modification of asyncio.XyzLoop would only work for that class, where as a standard callback loop would work with any sufficiently compatible loop.

Yury, if you happen to read this, could you try loop_tk.py with the two uvloop lines added and get_event_loop uncommented?
History
Date User Action Args
2016-07-22 07:48:26terry.reedysetrecipients: + terry.reedy, gvanrossum, serhiy.storchaka, yselivanov, Maxime S
2016-07-22 07:48:26terry.reedysetmessageid: <1469173706.58.0.163898282915.issue27546@psf.upfronthosting.co.za>
2016-07-22 07:48:26terry.reedylinkissue27546 messages
2016-07-22 07:48:26terry.reedycreate