Message301669
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) |
|
| Date |
User |
Action |
Args |
| 2017-09-08 02:28:12 | ncoghlan | set | recipients:
+ ncoghlan, gregory.p.smith, vstinner, giampaolo.rodola, njs, yselivanov |
| 2017-09-08 02:28:12 | ncoghlan | set | messageid: <1504837692.14.0.557083250889.issue31387@psf.upfronthosting.co.za> |
| 2017-09-08 02:28:12 | ncoghlan | link | issue31387 messages |
| 2017-09-08 02:28:11 | ncoghlan | create | |
|