Message301248
Yury's in the room here and pointed out how Nick and I are wrong. :) [yay sprints!]
async def __aexit__(self, *e):
spamity_spam
return Awaitable
If we resolve the GET_AWAITABLE at BEFORE_ASYNC_WITH time, the spamity_spam within __aexit__ is executed before the with block instead of after as happens today. :/
See also https://www.python.org/dev/peps/pep-0492/#asynchronous-context-managers-and-async-with
Nick is actively working on making a test. |
|
Date |
User |
Action |
Args |
2017-09-04 19:35:19 | gregory.p.smith | set | recipients:
+ gregory.p.smith, ncoghlan, njs, Mark.Shannon, erik.bray, jdemeyer, yselivanov, deleted0524, xgdomingo |
2017-09-04 19:35:19 | gregory.p.smith | set | messageid: <1504553719.46.0.0536438121364.issue29988@psf.upfronthosting.co.za> |
2017-09-04 19:35:19 | gregory.p.smith | link | issue29988 messages |
2017-09-04 19:35:19 | gregory.p.smith | create | |
|