Message351076
The query in #37743 highlights that generator functions and other wrapped iterator factories actually face a similar problem: they need the function body to contain "yield from wrapped(*args, **kwargs)" if the CM is going to be closed after the iterator terminates (or is closed), rather than closing immediately after the iterator is created. |
|
| Date |
User |
Action |
Args |
| 2019-09-03 08:29:05 | ncoghlan | set | recipients:
+ ncoghlan, njs, asvetlov, yselivanov, xtreak, John Belmonte |
| 2019-09-03 08:29:05 | ncoghlan | set | messageid: <[email protected]> |
| 2019-09-03 08:29:05 | ncoghlan | link | issue37398 messages |
| 2019-09-03 08:29:05 | ncoghlan | create | |
|