Message312675
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? |
|
Date |
User |
Action |
Args |
2018-02-24 00:12:55 | terry.reedy | set | recipients:
+ terry.reedy, asvetlov, yselivanov, porton |
2018-02-24 00:12:55 | terry.reedy | set | messageid: <1519431175.08.0.467229070634.issue32875@psf.upfronthosting.co.za> |
2018-02-24 00:12:55 | terry.reedy | link | issue32875 messages |
2018-02-24 00:12:55 | terry.reedy | create | |
|