消息 [301669]
As per Nathaniel's comments on issue 29988 and 31388, doing this robustly relies on:
1. the event loop being able to reliably guard itself and __aexit__ method implementations against interrupts (issue 31388)
2. "async with" statements ensuring that if the frame resumes after calling __aenter__, then it will also call __aexit__ (as was done for synchronous with statements in issue 29988) |
|
| 日期 |
用户 |
动作 |
参数 |
| 2017-09-08 02:28:12 | ncoghlan | 修改 | recipients:
+ ncoghlan, gregory.p.smith, vstinner, giampaolo.rodola, njs, yselivanov |
| 2017-09-08 02:28:12 | ncoghlan | 修改 | messageid: <1504837692.14.0.557083250889.issue31387@psf.upfronthosting.co.za> |
| 2017-09-08 02:28:12 | ncoghlan | 链接 | issue31387 messages |
| 2017-09-08 02:28:11 | ncoghlan | 创建 | |
|