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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com