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

Greg 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:


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


More information about the Python-Dev mailing list