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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27546>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to