A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-May/139862.html below:

[Python-Dev] PEP 492: async/await in Python; version 5

[Python-Dev] PEP 492: async/await in Python; version 5 [Python-Dev] PEP 492: async/await in Python; version 5Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 6 13:07:15 CEST 2015
Terry Reedy wrote:

> What I do not understand is how io events become event loop Event 
> instances.

They don't become Events exactly, but you can register
a callback to be called when a file becomes ready for
reading or writing, see:

http://effbot.org/pyfaq/can-i-have-tk-events-handled-while-waiting-for-i-o.htm

That's probably enough of a hook to be able to get
asyncio-style file I/O working on top of Tkinter.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4