Terry J. Reedy <tjre...@udel.edu> added the comment:
Enhancements only go in future releases not yet in beta.
Do loops already have an __enter__ method, also required for with? What would
you have the close method do? Preemptorially cancel all tasks and close the
loop? With statement are usually for ensuring deterministic cleanup after the
last substatement, such as closing a file. Can you give a short usage example?
versions: +Python 3.8 -Python 3.6
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list