[issue27546] Integrate tkinter and asyncio (and async)

Terry J. Reedy report at bugs.python.org
Tue Jul 26 13:21:24 EDT 2016


Terry J. Reedy added the comment:

This afternoon, I realized that I would replace the async for loops with while loops with await sleep and eliminate the Timer class.  I presume the tutorial will have other examples of how to write an async iterator.  (If not, I would put is back in.)  I also notices that the updater could also be turned into a coroutine, but decided to leave it as it is.

----------
Added file: http://bugs.python.org/file43899/loop_tk3.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27546>
_______________________________________


More information about the Python-bugs-list mailing list